Skip to content

Amulet-Team/Amulet-LevelDB

Repository files navigation

Amulet LevelDB

A pybind11 wrapper for Mojang's modified LevelDB library.

Install

pip install amulet-leveldb

Use

from amulet.leveldb import LevelDB

create_if_missing = True  # optional input. Default False.
db = LevelDB("path/to/db", create_if_missing)
db.put(b"key", b"value")
print(db.get(b"key"))
# b"value"

See the source code for full documentation.

About

A Python wrapper for Mojang's custom LevelDB

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors