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.15000100a10-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.15000100a10-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.15000100a10-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.15000100a10-cp313-cp313-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for amulet_leveldb-2.0.0.0.309027957683952396889703.15.0.0.15000100a10-cp313-cp313-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 0bbcb2de96e38dfc6e7730383d76ea2526f9fe163e8bf3837a5262b294c04d12
MD5 b3cfd71bd4e019abb81f0132965a2704
BLAKE2b-256 df5986ee99a97501bec986639638c228f4433621a31ab47bd0ec912d0de3d6b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amulet_leveldb-2.0.0.0.309027957683952396889703.15.0.0.15000100a10-cp312-cp312-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 61c5ac49097107266c49591642bc6487cbe34b24b433af232be87c0e5b92eefe
MD5 d8416035de9e018b15ab541967bbd3fe
BLAKE2b-256 5b82266b3e00290969bec825b281644b8d78d4270b7424366e3c259a77d03cb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amulet_leveldb-2.0.0.0.309027957683952396889703.15.0.0.15000100a10-cp311-cp311-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 b40c57c599ff9226e32fd6323c46b8c33874025c9d56bf61fd9e358a9949c706
MD5 3e858d89388053c4d68a4893661a7787
BLAKE2b-256 cc689e28fb39940733d18a4c71ff8bba06d5cb819e162e64224755d0ffdfc401

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