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

If you're not sure about the file name format, learn more about wheel file names.

amulet_leveldb-3.0.3a0.post250829075110-cp312-cp312-win_amd64.whl (523.2 kB view details)

Uploaded CPython 3.12Windows x86-64

File details

Details for the file amulet_leveldb-3.0.3a0.post250829075110-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for amulet_leveldb-3.0.3a0.post250829075110-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 56b6f13f92841f9170adda81ed5c6f11749cc60f70db3b04eee61fb526546550
MD5 0b9e628e4fab86081b2db46c838a38a1
BLAKE2b-256 8a4aadf17c3ebefd7e56c594685e8e86aef7e505db81641fb1027ecc3808b328

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page