amulet-leveldb
A Cython wrapper for Mojang's custom LevelDB.
What it is and what it does
Amulet LevelDB is a Cython wrapper that exposes Mojang's custom LevelDB implementation to Python, allowing direct key-value storage and retrieval operations. It wraps a compiled C++ library, so installation requires prebuilt wheels or compilation on your platform. The package has no runtime dependencies beyond Python itself.
Typically used in tools that need to read or write Minecraft world data stored in LevelDB format, or in any application requiring an embedded, persistent key-value store. You instantiate a database at a file path, then use simple put/get operations with byte strings. The library is actively maintained and supports current Python versions, though wheel availability is limited to specific platforms.
Use it for:
- Store and retrieve game world data in Minecraft-related tools that use LevelDB format
- Embed a lightweight key-value database in Python applications without external server dependencies
- Access Mojang's LevelDB variant from Python when working with Minecraft world files or data
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Cython wrapper around Mojang's modified LevelDB library for key-value storage operations in Python.
Yes, if your platform has a prebuilt wheel available. The package is actively maintained, has no known vulnerabilities, and zero runtime dependencies. If you're on an unsupported platform, you'll need to compile from source, which adds friction.
Install
amulet-leveldb on PyPI
pip
pip install amulet-leveldbuv
uv add amulet-leveldbpoetry
poetry add amulet-leveldbInstalling amulet-leveldb
Before you install
Medium install friction due to compiled wheel dependencies; prebuilt wheels available for macOS and Windows platforms. Active maintenance with a recent release.
Quickstart
pip install amulet-leveldb
from leveldb import LevelDB
db = LevelDB("path/to/db", create_if_missing=True)
db.put(b"key", b"value")
print(db.get(b"key")) # b"value"
Requires Python ~=3.8; prebuilt wheels available only for select Python versions and platforms.
Verify before relying
- Which specific Python versions and platforms have prebuilt wheels available beyond what friction_evidence shows
- Whether the package is compatible with Python versions beyond 3.8 or on Linux platforms
- Specific performance characteristics or limitations compared to direct LevelDB usage
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (~=3.8) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 50 days since the last release |
| First released | |
| Downloads | 378,309/month — #7,118 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: amulet_leveldb-1.0.7-cp311-cp311-macosx_10_9_universal2.whl; amulet_leveldb-1.0.7-cp311-cp311-win_amd64.whl; amulet_leveldb-1.0.7-cp311-cp311-win_arm64.whl; amulet_leveldb-1.0.7-cp312-cp312-macosx_10_13_universal2.whl; amulet_leveldb-1.0.7-cp312-cp312-win_amd64.whl; amulet_leveldb-1.0.7-cp312-cp312-win_arm64.whl
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
amulet-coreAmulet Core reads and writes Minecraft world…
unclear · top 15,000 on PyPI
lmdbProvides a Python binding to LMDB (Lightning…
unclear · top 5,000 on PyPI
plyvelPlyvel is a Python interface to LevelDB, a fast…
permissive · top 5,000 on PyPI
rocksdictRocksDict provides a Python interface to…
permissive · top 15,000 on PyPI
speedictSpeeDict is a Python key-value storage library…
permissive · top 15,000 on PyPI
sqlitedictProvides a dict-like interface to SQLite…
permissive · top 5,000 on PyPI
trieImplements the Ethereum Merkle Trie data…
permissive · top 15,000 on PyPI
nbtlibRead, write, and edit NBT (Named Binary Tag)…
permissive · top 15,000 on PyPI
mcpylibMCPyLib is a Python client library for remotely…
noncommercial · top 15,000 on PyPI