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
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 Distribution
leveldb-py-0.0.1b0.tar.gz
(776.0 kB
view details)
Built Distribution
File details
Details for the file leveldb-py-0.0.1b0.tar.gz
.
File metadata
- Download URL: leveldb-py-0.0.1b0.tar.gz
- Upload date:
- Size: 776.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46015b4dc873c812c7bc76a746b778fe090e1884d0711a81bd15cef09e59e9ff |
|
MD5 | 2b81df8b4b17eda1ce61df6678b8ee56 |
|
BLAKE2b-256 | d4c926238523a834ccc16e03d77fbca49b30ab3b733a67e1f7c5dffc45fcfb26 |
File details
Details for the file leveldb_py-0.0.1b0-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: leveldb_py-0.0.1b0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 235.2 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd0aa0c96d3942ce66c1035d86adedb64500db210584d759502f2ed139dc908a |
|
MD5 | 14d418119748a4985c1208e9d8c711e0 |
|
BLAKE2b-256 | 776ac6e9c4b5ea041b7a1c0496a5149e7846bf2085507ee70c9becb2a30c9d05 |