Skip to main content

CELINE SDK

Project description

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

Installation

# Core SDK
pip install celine-sdk

# With client generation support
pip install 'celine-sdk[gen]'

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 (requires [gen] extra)
celine-sdk generate services.yaml

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

License

Apache 2.0 — Copyright © 2025 Spindox Labs

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

celine_sdk-1.4.3.tar.gz (149.6 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.4.3-py3-none-any.whl (393.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: celine_sdk-1.4.3.tar.gz
  • Upload date:
  • Size: 149.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for celine_sdk-1.4.3.tar.gz
Algorithm Hash digest
SHA256 1c17e5d82fca4979b8ef8d228ff36163aa18171570fb624c034e5e1acd7da9b0
MD5 537d20e3c58f4bdf06eae4a6000a0d75
BLAKE2b-256 df5847ae0a0d8add10236b9bd30ac00868b643f0c363a1c554c7ae78a429cce6

See more details on using hashes here.

Provenance

The following attestation bundles were made for celine_sdk-1.4.3.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.4.3-py3-none-any.whl.

File metadata

  • Download URL: celine_sdk-1.4.3-py3-none-any.whl
  • Upload date:
  • Size: 393.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for celine_sdk-1.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0dceae862c3d8e8c59c7e665c39f4c35ec31327ffb39c85336eac475718ebd73
MD5 d6ceb0d98def765e72f2229adef265d5
BLAKE2b-256 a7ece3b71909756af98f453317130eb02253c4a4e18e1b35905e1a8fd86359ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for celine_sdk-1.4.3-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.

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