Skip to main content

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

amulet_leveldb-2.0.1a1.post250613081444-cp312-cp312-macosx_10_15_universal2.whl (909.5 kB view details)

Uploaded CPython 3.12macOS 10.15+ universal2 (ARM64, x86-64)

File details

Details for the file amulet_leveldb-2.0.1a1.post250613081444-cp312-cp312-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for amulet_leveldb-2.0.1a1.post250613081444-cp312-cp312-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 646efa2793068f03dc9b53687355eaa7dd5bc84223c2891bcf6ece4bdd5af796
MD5 d9252762bb6be938605a4112115b912f
BLAKE2b-256 9eb065d738a36a2fe141aaa27c292c92b87964d6b71480a7bffa896b1a1f9c98

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page