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 Distributions

amulet_leveldb-2.0.0.0.309027957683952396889703.15.0.0.15000100a11-cp313-cp313-macosx_10_15_universal2.whl (475.6 kB view details)

Uploaded CPython 3.13macOS 10.15+ universal2 (ARM64, x86-64)

amulet_leveldb-2.0.0.0.309027957683952396889703.15.0.0.15000100a11-cp312-cp312-macosx_10_15_universal2.whl (475.6 kB view details)

Uploaded CPython 3.12macOS 10.15+ universal2 (ARM64, x86-64)

amulet_leveldb-2.0.0.0.309027957683952396889703.15.0.0.15000100a11-cp311-cp311-macosx_10_15_universal2.whl (476.8 kB view details)

Uploaded CPython 3.11macOS 10.15+ universal2 (ARM64, x86-64)

File details

Details for the file amulet_leveldb-2.0.0.0.309027957683952396889703.15.0.0.15000100a11-cp313-cp313-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for amulet_leveldb-2.0.0.0.309027957683952396889703.15.0.0.15000100a11-cp313-cp313-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 6e7c15b4bf7bf3b093546421b07c29d924e70859dec299799594f6b28bfceb61
MD5 937be84f0351c3974e52b0ccbd903cb5
BLAKE2b-256 e51016635fedced833a3aa7850f826ac404067a34a7586b98930ab271be6239f

See more details on using hashes here.

File details

Details for the file amulet_leveldb-2.0.0.0.309027957683952396889703.15.0.0.15000100a11-cp312-cp312-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for amulet_leveldb-2.0.0.0.309027957683952396889703.15.0.0.15000100a11-cp312-cp312-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 4d3c751cd5b5c03b9152c3839d6b1105e8039cd806830d9da48629dd4c31e23a
MD5 2fae6a083f55ba7368716d7e90e72fd5
BLAKE2b-256 d782e372900b5af231f0c624ad5811b571260c3f75248be671012ec0405d7c6a

See more details on using hashes here.

File details

Details for the file amulet_leveldb-2.0.0.0.309027957683952396889703.15.0.0.15000100a11-cp311-cp311-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for amulet_leveldb-2.0.0.0.309027957683952396889703.15.0.0.15000100a11-cp311-cp311-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 5719568401bfe9af815d8139de4d27e13aa65eed54c6211028f76eedf77c3451
MD5 13ae0043f707a7a71ae8c99e3126948b
BLAKE2b-256 737e81059924463af35019f1f41185a0f199235c75c802d62be9ef663a1a7431

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