skillfed

amulet-leveldb

A Cython wrapper for Mojang's custom LevelDB.

amulet-leveldb v1.0.7 378.3K downloads/30d#7,118 on PyPI
License unclear Active released

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-leveldb

uv

uv add amulet-leveldb

poetry

poetry add amulet-leveldb

Installing 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

Operating System :: OS IndependentProgramming Language :: Python :: 3

Tags

leveldb python wrapperkey-value databaseminecraft leveldbcython leveldb bindingembedded key-value store
leveldbkey-value-store

More Database packages