Skip to main content

A Cython wrapper for Mojang's custom LevelDB.

Project description

Py LevelDB

A Cython wrapper for Mojang's modified LevelDB library.

Install

pip install pyleveldb

Use

from leveldb import LevelDB

db = LevelDB("path/to/db", create_if_missing = True)
db.put(b"greetings", b"Hello world")
print(db.get(b"greetings"))
# b"Hello world"

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

leveldb-py-0.0.1b0.tar.gz (776.0 kB view hashes)

Uploaded Source

Built Distribution

leveldb_py-0.0.1b0-cp311-cp311-win_amd64.whl (235.2 kB view hashes)

Uploaded CPython 3.11 Windows 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