A pybind11 wrapper for Mojang's custom LevelDB.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file amulet_leveldb-2.0.1a1.post250613081324-cp311-cp311-macosx_10_15_universal2.whl
.
File metadata
- Download URL: amulet_leveldb-2.0.1a1.post250613081324-cp311-cp311-macosx_10_15_universal2.whl
- Upload date:
- Size: 912.0 kB
- Tags: CPython 3.11, macOS 10.15+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e75d0e13e1ca19358b9de2a5c0a716b4567812a19a0175e82effb46ed685750e
|
|
MD5 |
0913ef58a524c14640c6126450132c39
|
|
BLAKE2b-256 |
2d40236ee950e46b9c6e2a65945a13f448501612ae52edc1e256d13500147bae
|