Skip to content

SDK API

tlm-cloud-sdk is the Python library for the ToloMEO Manager platform APIs that the tlm-cli command is built on, installable without the CLI and imported as tlm_cloud_sdk.

The SDK reads no configuration file and keeps no global state: every client is built from a CloudSession, as described in Session and Token Storage. The configuration file and the token cache belong to the CLI and are described in Configuration File.

pip install tlm-cloud-sdk --extra-index-url https://gitlab.com/api/v4/projects/81184835/packages/pypi/simple

These pages are generated from the source docstrings using mkdocstrings.

Module Covers
Session and Token Storage CloudSession, and the token storages it keeps the login token in
Manufacturing Module (PMS) PMSClient, its records and PMSInterfaceFactory — access to all PMS JSON:API resources
Fleet Module (FM) FMClient and FMInterfaceFactory — access to Fleet Manager JSON:API resources
Embedded Module (EM) EMClient, EMInterfaceFactory, and EMApiClient — Embedded Manager resources and build starts
Provisioning Module DeviceProvisioner, request/result models, and the exception hierarchy