A Cython wrapper for Mojang's modified LevelDB library.
pip install pyleveldb
from leveldb import LevelDB
db = LevelDB("path/to/db", create_if_missing = True)
db.put(b"greetings", b"Hello world")
print(db.get(b"greetings"))
# b"Hello world"
See the source code for full documentation.