Skip to main content

CELINE SDK

Shared SDK for the CELINE platform. Provides OIDC authentication, MQTT broker abstraction, Pydantic settings, and OpenAPI spec management with generated typed clients.

Modules

Module Description
celine.sdk.auth OIDC token provider, JWKS-based JWT parsing, token refresh
celine.sdk.broker MQTT client with auto-reconnect and JWT authentication
celine.sdk.settings Shared Pydantic settings: OIDC, MQTT, policies
celine.sdk.openapi.* Generated typed clients for CELINE services
celine.sdk.dt Digital Twin domain client helpers
celine.sdk.nudging Nudging service client
celine.sdk.policies OPA policy evaluation over a service's own *.rego bundle
celine.sdk.rec_registry REC registry client helpers
celine.sdk.flexibility Flexibility service client helpers
celine.sdk.ai_assistant AI assistant client helpers

celine.sdk.clients, celine.sdk.utils and celine.sdk.cli are internal: they support the modules above and the spec-management CLI, and are not part of the public surface.

Installation

pip install celine-sdk

Client generation needs the code generators from this repository's dev dependency group (Python ≥ 3.11) — uv sync in a checkout. It is a maintainer task performed here, not something a consuming service does.

CLI Quick Reference

# Fetch and version OpenAPI specs (writes to ./openapi/)
celine-sdk spec fetch services.yaml

# List discovered spec versions
celine-sdk spec list

# Generate typed Python clients (needs the dev dependency group)
celine-sdk generate services.yaml

# Both steps, in a checkout
task gen

services.yaml Format

services:
  digital-twin:
    package: dt
    openapi: http://dt:8000/openapi.json
  policies:
    openapi: http://policies:8000/openapi.json

Documentation

Document Description
Auth OIDC token provider, JWT parsing, AccessToken model
Broker MQTT client, auto-reconnect, JWT auth, subscription handling
Settings OidcSettings, MqttSettings, PoliciesSettings, env var config
Spec Management services.yaml format, spec fetch, versioning, client generation
Specifications What the SDK must do, as numbered requirements each named by a test

License

Apache 2.0 — Copyright © 2025 Spindox Labs

Download files

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

Source Distribution

celine_sdk-1.16.0.tar.gz (237.8 kB view details)

Uploaded Source

Built Distribution

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

celine_sdk-1.16.0-py3-none-any.whl (548.1 kB view details)

Uploaded Python 3

File details

Details for the file celine_sdk-1.16.0.tar.gz.

File metadata

  • Download URL: celine_sdk-1.16.0.tar.gz
  • Upload date:
  • Size: 237.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for celine_sdk-1.16.0.tar.gz
Algorithm Hash digest
SHA256 858ec87e6e80d2264fec8d503030f101180ef3a7b029b3c40c74ee0d9f606e9d
MD5 593b8619157908e726cbc4879ff52237
BLAKE2b-256 e9dd74152db8516accac90f57371c6f33ddbc38c59fac3b3f36b8855263d1c19

See more details on using hashes here.

Provenance

The following attestation bundles were made for celine_sdk-1.16.0.tar.gz:

Publisher: release.yaml on celine-eu/celine-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file celine_sdk-1.16.0-py3-none-any.whl.

File metadata

  • Download URL: celine_sdk-1.16.0-py3-none-any.whl
  • Upload date:
  • Size: 548.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for celine_sdk-1.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50f4658be1efdb1ce1c4b3d0c4ddbbac2e4e02d2b4200af21e633545a2d840d7
MD5 c8b9b63a4641b55f7e53a003d9a3f05f
BLAKE2b-256 3b4ccbca72a26a85b014f4bdca6f7df919d8219f37c4015ab6e77807b9d42177

See more details on using hashes here.

Provenance

The following attestation bundles were made for celine_sdk-1.16.0-py3-none-any.whl:

Publisher: release.yaml on celine-eu/celine-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.16.0 This release

2 files

1.15.0

2 files

1.14.1

2 files

1.14.0

2 files

1.13.0

2 files

1.12.1

2 files

1.12.0

2 files

1.11.0

2 files

1.10.0

2 files

1.9.0

2 files

1.8.0

2 files

1.7.0

2 files

1.6.0

2 files

1.5.0

2 files

1.4.3

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.3.1

2 files

1.3.0

2 files

1.2.1

2 files

1.2.0

2 files

1.1.0

2 files

1.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page