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-3.0.1a1.post250728110656-cp312-cp312-macosx_10_15_universal2.whl (2.9 MB view details)

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

File details

Details for the file amulet_leveldb-3.0.1a1.post250728110656-cp312-cp312-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for amulet_leveldb-3.0.1a1.post250728110656-cp312-cp312-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 bc6655885adb90b794e2936901fb71a45dbb7ee734d8e5bd9a638dcac693235f
MD5 f12bcc4105e94846570f007f1692dd33
BLAKE2b-256 cd9774a421fc476453fbfcfd0a3b18773a05a8a1624cc7dc6b78f1da5880f3e0

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