Skip to main content

Python SDK for the Novant API

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

novant-0.3.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

novant-0.3.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file novant-0.3.0.tar.gz.

File metadata

  • Download URL: novant-0.3.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for novant-0.3.0.tar.gz
Algorithm Hash digest
SHA256 77512314f133fc0c02ac54a37260d176a62c57daad1cd849ba8a8d8b021fe45d
MD5 f3b71a2457560608a73d780149c728af
BLAKE2b-256 d8a02a6d6ee7505e9a355a771384b1045e11c553b99a9b49043dcc645e3444a2

See more details on using hashes here.

File details

Details for the file novant-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: novant-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for novant-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ff34c096b6db3c52db849ceaef6a5972f4a22f7f73b6b00c6e8188aff740b7e
MD5 9f19ce8ff9b26a72f84222b304d28f89
BLAKE2b-256 98cffdb40eb23feca9dd7f8625c3fdfa24852b285b97854b077bb8473cebf93e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page