Skip to main content

Official Python SDK for the Sybilion API.

Project description

Sybilion Python SDK

Official Python SDK for the Sybilion API.

pip install sybilion

Requires Python 3.10+.

Quick use

import os

from sybilion import Client

c = Client(token=os.environ["SYBILION_API_TOKEN"])
me = c.raw.api_v1_me_get()
print(me.user_id, me.available_eur_cents, me.api_usage_tier)

The token is an API key (sk_ops_...) created in the Developers Portal, or a dashboard session token. The default base URL is https://api.sybilion.dev; override per-process with SYBILION_API_BASE_URL or per-call via the base_url= argument.

What's in the box

  • sybilion.Client — Bearer auth, ergonomic helpers.
  • client.wait_forecast(job_id) — polls GET /api/v1/forecasts/{id} until settled.
  • client.iter_usage_pages(...), client.iter_jobs_pages(...) — paginated iterators.
  • client.raw — escape hatch to the OpenAPI-generated DefaultApi for any endpoint not yet wrapped.
  • Typed exceptions (sybilion.ApiException and per-status subclasses).

Documentation

Full guides, feature walkthroughs, API reference, and SDK patterns: https://sybilion.dev/docs/.

Support

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

sybilion-0.1.1.tar.gz (39.2 kB view details)

Uploaded Source

Built Distribution

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

sybilion-0.1.1-py3-none-any.whl (74.8 kB view details)

Uploaded Python 3

File details

Details for the file sybilion-0.1.1.tar.gz.

File metadata

  • Download URL: sybilion-0.1.1.tar.gz
  • Upload date:
  • Size: 39.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sybilion-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ac60302a9ba257631fc872cf16bf8e589ce4a8ab4bc86451362a769dfda3ba8c
MD5 9eacfff5ef06f2a3b848495384d49f4a
BLAKE2b-256 ff0466fec8ee43bbd261f13c97cd70325a106e35f008250bf255f18441607d10

See more details on using hashes here.

Provenance

The following attestation bundles were made for sybilion-0.1.1.tar.gz:

Publisher: release.yml on Mir-Insight/sybilion-python

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

File details

Details for the file sybilion-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: sybilion-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 74.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sybilion-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c3a103edc1f87490101f1d6e652a7b843739487c2d5c57efd05a90679d835a8a
MD5 18a7a16d2fa5d22845460dc210bcec14
BLAKE2b-256 6f1aa25b838975120854ea6bddf931c0ab2e43952e64348253c2b3aad1f6b4a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for sybilion-0.1.1-py3-none-any.whl:

Publisher: release.yml on Mir-Insight/sybilion-python

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