Novant

Documentation

Sign in

Quick Start

Installation

Install the Novant Python library using pip:

pip install novant

Basic Usage

Once installed, create a NovantClient with your API key to start querying your project. The example below covers the most common operations:

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
ids = ["s.2.4", "s.2.5"]
for row in client.trends(point_ids=ids, date="2026-03-09"):
    print(row.ts, row.values)