database uri
You can set database uri by setting IOT_DATABASE_URL variable.
export IOT_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/iot_local
make migrations
alembic revision --autogenerate -m "Migration message."
upgrade
# upgrade all
alembic upgrade head
# upgrade all to specific migration
alembic upgrade <revision_id>
downgrade
# downgrade all
alembic downgrade base
# downgrade all to specific migration
alembic downgrade <revision_id>
Metadata
Release files for ngits-iot-db 0.21.0
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 |
|---|---|---|---|---|
| ngits_iot_db-0.21.0.tar.gz | 105.0 kB | Without provenance | Details for ngits_iot_db-0.21.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ngits_iot_db-0.21.0-py3-none-any.whl | Python 3 | none | any | Details for ngits_iot_db-0.21.0-py3-none-any.whl |
Total release size: 170.0 kB
Release files / ngits_iot_db-0.21.0.tar.gz
| Download URL | ngits_iot_db-0.21.0.tar.gz |
|---|---|
| Size | 105.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
707e2ec7e2cfe5c1d5f6f2c587042af550909ee0904fc63138371361bfe0f27c
|
|
BLAKE2b-256 checksum How to use checksums |
cf86b51fa6fa3f8547efefc1d3e5db3a1a99fbd1943069d8d00121a310b70d29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / ngits_iot_db-0.21.0-py3-none-any.whl
| Download URL | ngits_iot_db-0.21.0-py3-none-any.whl |
|---|---|
| Size | 65.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fa4ceef5764ac35aebc49740438108948f8cdb55df8c6aa19cfcde97d7308d99
|
|
BLAKE2b-256 checksum How to use checksums |
83629d3a977b50d36b89d4223800d27d33bc34dcaac9886e585902730e8923b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Security for ngits-iot-db 0.21.0
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.