novant-python
Python SDK for the Novant API.
Full documentation at docs.novant.io/sdk/python.
Installation
pip install novant
Quick Start
from novant import NovantClient
client = NovantClient(api_key="ak_xxx")
# Get project info
proj = client.project()
print(proj.city) # "Richmond, VA"
print(proj.tz) # "New_York"
# List assets
for asset in client.assets():
print(asset.name, asset.type)
# Read current values
for v in client.values(source_id="s.2"):
print(v.id, v.val, v.status)
# Get trend data
for row in client.trends(point_ids=["s.2.4", "s.2.5"], date="2026-03-09"):
print(row.ts, row.values)
Development
git clone https://github.com/novant-io/novant-python.git
cd novant-python
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -e ".[dev]"
The dev extra installs pytest, build, and twine — everything
needed for testing and publishing.
Testing
Tests are integration tests that run against the live Novant API. Place a
test project's API key at secret/test.key, then:
pytest
Tests are skipped automatically if secret/test.key is missing.
Release files for novant 0.5.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 | |
|---|---|---|---|
| novant-0.5.0.tar.gz | 21.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| novant-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.3 kB
Release files / novant-0.5.0.tar.gz
| Download URL | novant-0.5.0.tar.gz |
|---|---|
| Size | 21.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9793d1fa8a187c88aba3e58f20f3dc42c8510d2c17e56114a3350d188d980d5
|
|
BLAKE2b-256 checksum How to use checksums |
d09f7cbb0e05ceb2a28ecc6e33c456c55ae1fb47a1d14610c11befdad0d5e914
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|
Release files / novant-0.5.0-py3-none-any.whl
| Download URL | novant-0.5.0-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74c296bf9334bfa1323b0bfc74251b4d971102bbbde1a1455cb8681971ad5288
|
|
BLAKE2b-256 checksum How to use checksums |
2078bffc0f5cc5588e3343297a40f9235ad97ef4dea9ae3b067584da6f19967e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|