Metadata-Version: 2.4
Name: amulet-rocksdb
Version: 1.0.2
Summary: A pybind11 wrapper for RocksDB.
Author: James Clare
Project-URL: Homepage, https://www.amuletmc.com
Project-URL: Repository, https://github.com/Amulet-Team/Amulet-RocksDB
Project-URL: Issues, https://github.com/Amulet-Team/Amulet-RocksDB/issues
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Provides-Extra: dev
Requires-Dist: setuptools>=42; extra == "dev"
Requires-Dist: types-setuptools; extra == "dev"
Requires-Dist: versioneer; extra == "dev"
Requires-Dist: types-versioneer; extra == "dev"
Requires-Dist: packaging; extra == "dev"
Requires-Dist: pybind11_stubgen>=2.5.4; extra == "dev"
Requires-Dist: black>=22.3; extra == "dev"
Requires-Dist: isort; extra == "dev"
Requires-Dist: autoflake; extra == "dev"
Requires-Dist: mypy; extra == "dev"
Requires-Dist: types-pyinstaller; extra == "dev"

# Amulet RocksDB

A pybind11 wrapper for RocksDB.


## Install
`pip install amulet-rocksdb`

## Use
```py
from rocksdb import RocksDB

create_if_missing = True  # optional input. Default False.
db = RocksDB("path/to/db", create_if_missing)
db.put(b"key", b"value")
print(db.get(b"key"))
# b"value"
```

See the [source code](src/amulet/rocksdb/_rocksdb.py.cpp) for full documentation.
