semvec/pypi-packages huggingface dataset:
jsonabledb 0.0.3
A lightweight document-oriented database based on JSON
License: BSD-3-Clause
Requires Python: <4.0,>=3.7

# jsonableDB

[![GitHub][github_badge]][github_link] [![PyPI][pypi_badge]][pypi_link]

**jsonableDB** is a lightweight document-oriented database based on JSON.



## Installation

```bash
pip install jsonabledb
```



## Quickstart

Get your documents prepared

```python
documents = [
  {...},
  {...},
  ...
]
```



Jsonify your documents as a JSON file using **jsonableDB**

```python
from jsonable import jsonify

jsonify(documents, "collection_name", "database_name")
```



Retrieve all your documents in the **jsonableDB**

```python
import jsonable

client = jsonable.Client()

collection = client["database_name"]["collection_name"]

collection.find()
```



## License

**jsonableDB** has a BSD-3-Clause license, as found in the [LICENSE](https://github.com/imyizhang/jsonabledb/blob/main/LICENSE) file.



## Contributing

Thanks for your interest in contributing to **jsonableDB**! Please feel free to create a pull request.



## Changelog

**jsonableDB 0.0.2**

* Support to jsonify documents as a JSON file



**jsonableDB 0.0.1**

* First release



[github_badge]: https://badgen.net/badge/icon/GitHub?icon=github&color=black&label
[github_link]: https://github.com/imyizhang/jsonabledb



[pypi_badge]: https://badgen.net/pypi/v/jsonabledb?icon=pypi&color=black&label
[pypi_link]: https://www.pypi.org/project/jsonabledb