Python port of
nqminds/nqm-iot-database-utils
Use the below to install as a library using pip
:
pip3 install nqm.iotdatabase
# installing the latest git version:
# pip3 install git+https://github.com/nqminds/nqm-iot-database-py.git#egg=nqm.iotdatabase
You can replace pip3
with poetry
if you prefer.
To download the library, install dependencies for running tests, and build documentation, do:
git clone https://github.com/nqminds/nqm-iot-database-py.git
cd nqm-iot-database-py/
poetry install
We use Sphinx, Autodoc, Napoleon, and
sphinx_autodoc_typehints
to make our documentation.
The below creates html.
poetry run make html
poetry run python -m pytest
poetry run coverage run --source=nqm -m pytest && poetry run coverage report
poetry run mypy -m nqm.iotdatabase && echo -e "\e[1;32mPass! \e[0m"
poetry run make doctest
poetry run pre-commit run --all-files