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.0a0.post250715111544-cp312-cp312-win_amd64.whl (514.0 kB view details)

Uploaded CPython 3.12Windows x86-64

File details

Details for the file amulet_leveldb-3.0.0a0.post250715111544-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for amulet_leveldb-3.0.0a0.post250715111544-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 6eaab50e487bc5fca8786153d9b6a2be7eb9de76c585336cc1fc65e0c39f3241
MD5 d90d66b5dbaaa9dd6ff295841d0849e6
BLAKE2b-256 f3bf5de0866fcc051c18e70506f16d62c2732d1d95093bfef5f2f25ae82f8805

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