Installation
Installing JSON-as-DB is pretty simple.
Note
Using a virtual environment will make the installation easier, and will help to avoid clutter in your system-wide libraries.
JSON-as-DB is available on Pypi as json-as-db
, so you can install using
pip as like following command.
pip install json-as-db
Also you can install directly from source. You will need git in order to clone the repository.
git clone https://github.com/joonas-yoon/json-as-db.git
cd json-as-db
pip install -e .
If you want to test methods working well, here is the unit tests in tests/
directory. These unittest-based tests are written using PyTest.
Now that you have installed all dependencies, you can run tests to check functions like,
PYTHONPATH=src python -m pytest