Python bindings for RocksDB.
See https://f321x.github.io/python-rocksdb/ for a more comprehensive install and usage description.
Quick install
$ pip install rocksdb-ng
The distribution is published to PyPI as rocksdb-ng (the plain rocksdb name belongs to the upstream project this is forked from). The import name is unchanged – after installing you still import rocksdb. Because it ships the same top-level rocksdb package, it cannot be co-installed with the original rocksdb distribution; uninstall that first (pip uninstall rocksdb).
Quick usage guide
>>> import rocksdb
>>> db = rocksdb.DB('test.db', rocksdb.Options(create_if_missing=True))
>>> db.put(b'a', b'data')
>>> print(db.get(b'a'))
b'data'
Acknowledgements
This project attempts to collect the efforts put into different forks of the pyrocksdb project that was originally written by stephan-hof, as sadly none seems to be actively maintained. In particular, the python-rocksdb fork created by twmht, but it also incorporates changes from other forks and unfinished pull requests.
Disclaimer
This python-rocksdb fork was developed mostly using LLM coding agents.
Metadata
Release files for rocksdb-ng 2.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rocksdb_ng-2.4.0.tar.gz | 407.9 kB | Without provenance | Details for rocksdb_ng-2.4.0.tar.gz |
Release files / rocksdb_ng-2.4.0.tar.gz
| Download URL | rocksdb_ng-2.4.0.tar.gz |
|---|---|
| Size | 407.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b81572c5355e04abbb6a5a28e0c4e2a02385e3f904e5f7fb30bf3b4d4ed5a73d
|
|
BLAKE2b-256 checksum How to use checksums |
d77f23655dcbce3cfd18c904c8fbfc407d4d99fa7f885b6e0290a5d04fdea599
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Security for rocksdb-ng 2.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.