Python API reference

Find Python interfaces for authoring, building, and running analytics. The reference pages show the public classes and functions, grouped by package.

Need Reference
Declare profiles and calculations Python authoring
Load, validate, and write a Spec Spec
Resolve project paths, sources, and Python imports Project
Work with a configured project Application
Build or load a project bundle Builds and bundles
Inspect Spec bindings against implementations Binding inspector
Compile a Spec Compiler
Inspect and serialize execution plans Models and serialization
Run analytics and read results Execution engine
Read saved run metadata and previews Saved runs
Inspect feature dependencies Feature graphs
Prepare Explorer data Explorer
Load Python functions Python entrypoints
Read local or S3 files Storage
Use row windows in calculations Row-context utilities
Review shared argument and operator types Operator bindings, argument types, and selectors

Common classes are available from uptimely, including Spec, Uptimely, Compiler, and Engine. CLI commands and MCP tools have separate references.

For a complete example, see the repository examples. The application and project overviews explain how the packages work together.