Skip to main content

Python SDK & CLI for the Chronograf temporal standard (Time Atoms, Uncertainty, Temporal Barcodes).

Project description

Chronograf Python SDK

Official Python Toolkit for the Chronograf Temporal Standard

This repository provides the reference Python implementation for interacting with Chronograf, the temporal substrate defined in the chronograf-spec repository.


Purpose

The SDK bridges the Chronograf Specification with real systems, enabling:

  • loading and validating .rcg layers
  • consuming manifests
  • generating Time Atoms & Temporal Barcodes
  • interacting with deterministic or simulated time

Polymorf Licensing Strategy

Chronograf uses a layered licensing approach:

  • The Specification → open license (CC-based)
  • The SDK → Apache-2.0 (permissive, enterprise-friendly)
  • Implementations → free to adopt diverse licensing models
    (proprietary, hardware-coupled, commercial)

This ensures distributed wealth: shared standard, free SDK, diverse engines.


Structure

src/
  robotchronograf/
    api.py
    cli.py
    sync.py
    utils.py
    loaders/
    codecs/
spec/
  chronograf/        # submodule

Installation

pip install robotchronograf

or

pip install -e .

CLI Usage

robotchronograf --help
robotchronograf barcode now

API Example

from robotchronograf.api import load_manifest, generate_temporal_barcode

manifest = load_manifest("spec/chronograf/manifest/chronograf_manifest.rcg")
barcode = generate_temporal_barcode()
print(barcode)

License

Apache-2.0

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

robot_chronograf-0.1.2.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

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

robot_chronograf-0.1.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file robot_chronograf-0.1.2.tar.gz.

File metadata

  • Download URL: robot_chronograf-0.1.2.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for robot_chronograf-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cb994486770743f9fa7e3cc01772afe3a41e40f9474806453e09fd7ab80bab2d
MD5 1dabc404d3c266457e0dbf5668886aca
BLAKE2b-256 e5476bd168518ae82d0902c6319ee5cdfd003a51f8d628a0cef0a4c032a18f77

See more details on using hashes here.

File details

Details for the file robot_chronograf-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for robot_chronograf-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 355b5000101631c9eb5de9d3ede936dd51a3768f6c19aee3a5c5503828792c80
MD5 2be5484fe09fd96a9c967a5ce7a72fa5
BLAKE2b-256 f0b8a891798afb3f2ef0fe0c75c060cfd794775dc7584b129254d9abca5d0956

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