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.post250701070650-cp311-cp311-win_amd64.whl (514.9 kB view details)

Uploaded CPython 3.11Windows x86-64

File details

Details for the file amulet_leveldb-3.0.0a0.post250701070650-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for amulet_leveldb-3.0.0a0.post250701070650-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 bc411ab65b97a06d1bf71da3eea01ad6914a34d95dd57a350989b25069579228
MD5 3f4c5975b5342283d6ae9be8d13ba206
BLAKE2b-256 cb6191ca9ba7f1312d20d8eecc272feafb4d4e2f4f0a09048cdff8e75023b1b0

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