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.1a2.post250626124141-cp311-cp311-macosx_10_15_universal2.whl (914.5 kB view details)

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

File details

Details for the file amulet_leveldb-2.0.1a2.post250626124141-cp311-cp311-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for amulet_leveldb-2.0.1a2.post250626124141-cp311-cp311-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 56aab6c235f1ae0416c1ab5d5bcf26417376d2d293074528ea359689f2d42d1e
MD5 0f85050629e3c72078219dffc08a1a51
BLAKE2b-256 31706ecd240052b90b2db880ce34d60c32e17afd8e03bb1fa65b7769fd5feb3d

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