Created
May 28, 2025 13:03
-
-
Save Bouni/2f4d2c6b0e3dbc72c7ff9d13672609d6 to your computer and use it in GitHub Desktop.
RPi levelDB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import plyvel | |
db = plyvel.DB('./Default/Local Storage/leveldb', create_if_missing=False) | |
for key, value in db: | |
print(key, value) | |
db.close() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install libleveldb-dev | |
pip install plyvel --break-system-packages | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment