nqm-iot-database-utils-python
Python port of
nqminds/nqm-iot-database-utils
Installing
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
Documentation
We use Sphinx, Autodoc, Napoleon, and
sphinx_autodoc_typehints
to make our documentation.
The below creates html.
poetry run make html
Tests
Unittests
poetry run python -m pytest
Unittests Coverage
poetry run coverage run --source=nqm -m pytest && poetry run coverage report
Typetests
poetry run mypy -m nqm.iotdatabase && echo -e "\e[1;32mPass! \e[0m"
Doctests
poetry run make doctest
Linting
poetry run pre-commit run --all-files
Possible upgrades to make in SQLAlchemy
- Add sorting on Primary Keys (SQLite feature)
- allow using SQLite URI connections (for read-only)
Metadata
Release files for nqm.iotdatabase 1.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nqm.iotdatabase-1.1.5.tar.gz | 21.5 kB | Without provenance | Details for nqm.iotdatabase-1.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nqm.iotdatabase-1.1.5-py3-none-any.whl | Python 3 | none | any | Details for nqm.iotdatabase-1.1.5-py3-none-any.whl |
Total release size: 47.0 kB
Release files / nqm.iotdatabase-1.1.5.tar.gz
| Download URL | nqm.iotdatabase-1.1.5.tar.gz |
|---|---|
| Size | 21.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f051b8f762ed60b571f3ab0d083e811f34026b34bb88e79e68732760fb3fbf99
|
|
BLAKE2b-256 checksum How to use checksums |
de725c464d0fc8bad0a81bc234daa023f53f6c918bbc465775e0ff59cfc5a7ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.8.0 Linux/5.0.0-1023-azure
|
Release files / nqm.iotdatabase-1.1.5-py3-none-any.whl
| Download URL | nqm.iotdatabase-1.1.5-py3-none-any.whl |
|---|---|
| Size | 25.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b065c7c7b5080952de327fa7a47a6cb21a116448f59ae65a1c96a610c541f9a1
|
|
BLAKE2b-256 checksum How to use checksums |
214e9083bb8f2b5a69bf02c599bb7296456c06ca355764bbec27efa75e4e68af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.8.0 Linux/5.0.0-1023-azure
|
Security for nqm.iotdatabase 1.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.