Metadata-Version: 2.4
Name: mkvdb
Version: 0.1
Summary: MongoDB-backed async/sync key–value store with a super tiny API.
Keywords: key-value,database,mongodb,asyncio,motor,kv,cache
Author-email: Harrison Erd <harrisonerd@gmail.com>
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Classifier: Framework :: AsyncIO
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Topic :: Database
Classifier: Topic :: Software Development :: Libraries :: Python Modules
License-File: LICENSE
Requires-Dist: motor>=3.6,<4
Project-URL: Homepage, https://patx.github.io/mkvdb
Project-URL: Repository, https://github.com/patx/mkvdb

**[mkvDB](https://github.com/patx/mkvdb)** is a fast, easy to use, Python key-value store with first-class
asynchronous support. It stands on the shoulders of [motor](https://motor.readthedocs.io/)
and is safe across multiple processes and workers thanks to MongoDB’s concurrency model.

Is it a little pointless if you already know Mongo? Yeah. But if ya just want to
`set` and `get` without thinking about collections or schemas, it’s perfect. I made this
because [pickleDB](https://patx.github.io/pickledb) doesn't play nice with ASGI but I
like its dumb API anyway :) There's no docs yet, so just look at the source code - 
its really short I promise.

```python
from mkvdb import Mkv

db = Mkv("mongodb://localhost:27017")

db.set("key", "value")
db.get("key")  # returns "value"
```

Note: You can also `await db.set` or `db.whatever` for async usage. 

