Skip to content

🎯 aimrocks 🎸 β€” python & cython bindings for RocksDB. Batteries included! πŸ”‹

Notifications You must be signed in to change notification settings

VioletaStepanyan/aimukv

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

26 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ukv.rocksdb: python wrapper for rocksdb

ukv.rocksdb is a python package written by python C bindings.

It uses statically linked libraries for rocksdb and compression libraries it depends on, so ukv.rocksdb can be used out of the box (without requiring additional installation of any of those).

Example usage

import ukv.rocksdb as ukv

db_path = '/tmp/example_db'
db = ukv.DataBase(db_path)

db.main.set(1, b'value_1')
db.main.set(2, b'value_1')

...

value = db.main.get(1)
values = db.main.get((1, 2))

...

db.close()

About

🎯 aimrocks 🎸 β€” python & cython bindings for RocksDB. Batteries included! πŸ”‹

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%