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.1a0.post250728095853-cp311-cp311-win_amd64.whl (523.4 kB view details)

Uploaded CPython 3.11Windows x86-64

File details

Details for the file amulet_leveldb-3.0.1a0.post250728095853-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for amulet_leveldb-3.0.1a0.post250728095853-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9c61025379563a0ecb5e2a9513fd6ca1b2e900698ce0a299d91d8f7e6e4e1626
MD5 d563a314dc79fbbff67b182b16c880c0
BLAKE2b-256 edccf1341f9b92e0afaba74f961f04f765beee49b99c900657983e0bbbe6d9a9

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