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.post250626125811-cp312-cp312-win_amd64.whl (316.2 kB view details)

Uploaded CPython 3.12Windows x86-64

File details

Details for the file amulet_leveldb-2.0.1a2.post250626125811-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for amulet_leveldb-2.0.1a2.post250626125811-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d804fdceed08b8f563eb8b56999277002d38fd5c4a694016608554d2ccb6339f
MD5 ecef86d5a61660f53b5e95ae4800d262
BLAKE2b-256 37c7826de78a06e9d7471450fea7d9717afe1f2ff75e027c567839f21561a128

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