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

File metadata

File hashes

Hashes for amulet_leveldb-2.0.0.0.309027957683952396889703.15.0.0.15000100a12-cp313-cp313-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 07e69067406b9b8d9b8ff00faaa2d2d0c62c7192656d99d6b6fb52bf7c62da4f
MD5 84601f54b83f6af935889b75d62d7172
BLAKE2b-256 9e713f8460f222e9d03b76491e61747ce7da3654207a6b9963e7516305709c0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amulet_leveldb-2.0.0.0.309027957683952396889703.15.0.0.15000100a12-cp312-cp312-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 7a6e7cf97af605437c2db6090c73eb14b4020de0c6c83b8d5395db71c5c9507d
MD5 3304b9beaa8c874dc9e7698a58c3b67a
BLAKE2b-256 70405eddeefd55e70b52bdda867b2f8d566e4ba78eb68c6e86692d1ba664b1e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amulet_leveldb-2.0.0.0.309027957683952396889703.15.0.0.15000100a12-cp311-cp311-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 3b3408f096674575a16bb2d0a6bc4c77be4429b84e2016489a6fd56ca4561e8b
MD5 62171ce31b4c447b1b37d177a7ed3897
BLAKE2b-256 988859779d450a5235fada8c9aa16006ca9f0a37879babe3c5466c58336d330f

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