Metadata-Version: 2.1
Name: leveldb-py
Version: 0.0.1b0
Summary: A Cython wrapper for Mojang's custom LevelDB.
Home-page: https://www.amuletmc.com
Author: James Clare & Masroor Ehsan
Author-email: masroore@gmail.com
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Other Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: black >=22.3 ; extra == 'dev'
Requires-Dist: pre-commit >=1.11.1 ; extra == 'dev'
Requires-Dist: cython >=3.0.0a9 ; extra == 'dev'
Provides-Extra: docs
Requires-Dist: Sphinx >=1.7.4 ; extra == 'docs'
Requires-Dist: sphinx-autodoc-typehints >=1.3.0 ; extra == 'docs'
Requires-Dist: sphinx-rtd-theme >=0.3.1 ; extra == 'docs'

# Py LevelDB

A Cython wrapper for Mojang's modified LevelDB library.


## Install
`pip install pyleveldb`

## Use
```py
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](src/leveldb/_leveldb.pyx) for full documentation.
