Skip to main content

Sybilion Python SDK

Official Python SDK for the Sybilion API.

pip install sybilion

Requires Python 3.10+.

Quick use

from sybilion import Client

# Token read from SYBILION_API_TOKEN env var automatically
c = Client()
me = c.me()
print(me.user_id, me.available_eur_cents, me.api_usage_tier)

Or pass the token explicitly:

c = Client(token="sk_ops_...")

The token is an API key (sk_ops_...) created in the Developers Portal, or a dashboard session token.

What's in the box

Account

  • c.me() — authenticated account info (balance, tier).

Catalog

  • c.list_categories() / c.list_regions() — available thematic categories and geographic regions.

Forecasts

  • c.submit_forecast(request) — submit an async forecast job.
  • c.get_forecast(id) — poll status of a forecast job.
  • c.get_forecast_artifact(id, name) — download a forecast artifact by name.
  • c.wait_forecast(job_id) — polls until the job is settled or timeout is exceeded.

Drivers

  • c.get_drivers(request) — drivers ranked by explanatory power (synchronous, billed).

Alerts

  • c.get_alerts(metadata, context_enriched, ...) — anomaly alerts for a timeseries (synchronous, billed).

Jobs & Usage

  • c.list_jobs(...) / c.iter_jobs_pages(...) — async job list with optional filters.
  • c.get_usage(...) / c.iter_usage_pages(...) — credit/usage ledger.

Escape hatch

  • c._api — 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.

Release files for sybilion 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sybilion 0.2.1
File Size Uploaded
sybilion-0.2.1.tar.gz 46.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sybilion 0.2.1
File Interpreter ABI Platform
sybilion-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 142.3 kB

Release files / sybilion-0.2.1.tar.gz

Download URL sybilion-0.2.1.tar.gz
Size 46.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4e9406a12d12114d0afa957a70d0e1dc57f8b3d7c2a053f04d6e65e31a1e7112
BLAKE2b-256 checksum
How to use checksums
00877e2d783cb07281bbb80b0a48e8a4987ff24dff4bb8f4abe4b6314141898f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 16, 2026.

Transparency log

Release files / sybilion-0.2.1-py3-none-any.whl

Download URL sybilion-0.2.1-py3-none-any.whl
Size 95.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f15f1785245d194809318d92099960df3a58169b13ecfec2c7d90ec59fd4611f
BLAKE2b-256 checksum
How to use checksums
30806853735e86b45ecc4a1fbdc9e0cb152600cd6e7d398caeba1150da536373
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release 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