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://docs.sybilion.com.

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.0.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.0-py3-none-any.whl (74.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sybilion-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 262b3eeecdb308873ccbdce66a946356c36d6640601f913509a671321e691c06
MD5 dc894b61080c4c697872b75421a5a5b7
BLAKE2b-256 8d9ca0234af4d0e62dff126f8f29f81f6f570bb8827575af4d2faf34307a2156

See more details on using hashes here.

Provenance

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

Publisher: release.yml on Mir-Insight/developers-portal-api-sdk-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.0-py3-none-any.whl.

File metadata

  • Download URL: sybilion-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 49c2443dc56c6d937bd14d018daa6b339769f928b5bb62c61fe12578aa151226
MD5 f06917b122ddab4e7daca72fede75c4f
BLAKE2b-256 577799710e2c8feb4ee57c390b70af0712ab6bba67e75cbde352928d6730401a

See more details on using hashes here.

Provenance

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

Publisher: release.yml on Mir-Insight/developers-portal-api-sdk-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