Skip to content

Instantly share code, notes, and snippets.

@Bouni
Created May 28, 2025 13:03
Show Gist options
  • Save Bouni/2f4d2c6b0e3dbc72c7ff9d13672609d6 to your computer and use it in GitHub Desktop.
Save Bouni/2f4d2c6b0e3dbc72c7ff9d13672609d6 to your computer and use it in GitHub Desktop.
RPi levelDB
import plyvel
db = plyvel.DB('./Default/Local Storage/leveldb', create_if_missing=False)
for key, value in db:
print(key, value)
db.close()
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