Welcome to python-rocksdb’s documentation!¶

Overview¶

Python bindings to the C++ interface of http://rocksdb.org/ using cython:

import rocksdb
db = rocksdb.DB("test.db", rocksdb.Options(create_if_missing=True))
db.put(b"a", b"b")
print(db.get(b"a"))

Tested with python 3.11-3.14 and RocksDB versions 8.x, 9.x and 10.x.

  • Instructions how to install
    • With distro package and pypi
    • From source
  • Tutorial
    • Open
    • About Bytes And Unicode
    • Access
    • Iteration
    • Snapshots
    • MergeOperator
    • PrefixExtractor
    • Backup And Restore
    • Encryption At Rest
    • Change Memtable Or SST Implementations
    • Change Compaction Style
    • Iterate Over WriteBatch
  • Thread safety and free-threading
    • What is safe to share
    • The closing contract
    • Objects confined to one thread
    • Options objects
    • Custom comparators and merge operators
    • Using a free-threaded build
  • API
    • Options
    • Database
    • Interfaces
    • Backup
    • Encryption
  • Changelog
    • Version 2.4
    • Version 2.3
    • Version 2.2
    • Version 2.1
    • Version 2.0
    • Version 0.8
    • Version 0.7
    • Version 0.6
    • Version 0.5
    • Version 0.4
    • Version 0.3
    • Version 0.2
    • Version 0.1

Contributing¶

Source can be found on github. Feel free to fork and send pull-requests or create issues on the github issue tracker

RoadMap/TODO¶

No plans so far. Please submit wishes to the github issues.

Indices and tables¶

  • Index

  • Module Index

  • Search Page

python-rocksdb

Navigation

  • Instructions how to install
  • Tutorial
  • Thread safety and free-threading
  • API
  • Changelog

Related Topics

  • Documentation overview
    • Next: Installing
©2014, sh. | Powered by Sphinx 9.1.0 & Alabaster 1.0.0 | Page source