Skip to main content

A Cython wrapper for Mojang's custom LevelDB.

Project description

Amulet LevelDB

A Cython wrapper for Mojang's modified LevelDB library.

Install

pip install amulet-leveldb

Use

from 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

amulet_leveldb-1.0.2.tar.gz (745.5 kB view hashes)

Uploaded Source

Built Distributions

amulet_leveldb-1.0.2-cp312-cp312-win_amd64.whl (223.8 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

amulet_leveldb-1.0.2-cp312-cp312-win32.whl (201.1 kB view hashes)

Uploaded CPython 3.12 Windows x86

amulet_leveldb-1.0.2-cp312-cp312-macosx_10_9_universal2.whl (435.3 kB view hashes)

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

amulet_leveldb-1.0.2-cp311-cp311-win_amd64.whl (226.6 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

amulet_leveldb-1.0.2-cp311-cp311-win32.whl (203.6 kB view hashes)

Uploaded CPython 3.11 Windows x86

amulet_leveldb-1.0.2-cp311-cp311-macosx_10_9_universal2.whl (437.7 kB view hashes)

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

amulet_leveldb-1.0.2-cp310-cp310-win_amd64.whl (226.3 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

amulet_leveldb-1.0.2-cp310-cp310-win32.whl (203.6 kB view hashes)

Uploaded CPython 3.10 Windows x86

amulet_leveldb-1.0.2-cp310-cp310-macosx_11_0_x86_64.whl (226.1 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ x86-64

amulet_leveldb-1.0.2-cp310-cp310-macosx_10_9_universal2.whl (443.1 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)

amulet_leveldb-1.0.2-cp39-cp39-win_amd64.whl (226.5 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

amulet_leveldb-1.0.2-cp39-cp39-win32.whl (203.7 kB view hashes)

Uploaded CPython 3.9 Windows x86

amulet_leveldb-1.0.2-cp39-cp39-macosx_11_0_x86_64.whl (226.6 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ x86-64

amulet_leveldb-1.0.2-cp39-cp39-macosx_10_9_universal2.whl (437.9 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)

amulet_leveldb-1.0.2-cp38-cp38-win_amd64.whl (226.6 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

amulet_leveldb-1.0.2-cp38-cp38-win32.whl (203.9 kB view hashes)

Uploaded CPython 3.8 Windows x86

amulet_leveldb-1.0.2-cp38-cp38-macosx_11_0_x86_64.whl (227.1 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ x86-64

amulet_leveldb-1.0.2-cp38-cp38-macosx_11_0_universal2.whl (445.2 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ universal2 (ARM64, x86-64)

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page