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
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-generatedDefaultApifor any endpoint not yet wrapped.- Typed exceptions (
sybilion.ApiExceptionand per-status subclasses).
Documentation
Full guides, feature walkthroughs, API reference, and SDK patterns: https://sybilion.dev/docs/.
Support
- Email — support@sybilion.com
- Slack — Sybilion Community
- Discord — Sybilion Developers Community
License
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sybilion-0.1.4.tar.gz.
File metadata
- Download URL: sybilion-0.1.4.tar.gz
- Upload date:
- Size: 41.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc6f940769341fa49419d2692dcee2c03d2a3b34202d0e616eb4042227794f01
|
|
| MD5 |
913280db740f6f7a01c2ccd8414eb6ae
|
|
| BLAKE2b-256 |
22bd8616feb567e1c5403e76e062e9b8de1a94b0d9e3edd8a2a8f76891af63ed
|
Provenance
The following attestation bundles were made for sybilion-0.1.4.tar.gz:
Publisher:
release.yml on Sybilion-AI/sybilion-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sybilion-0.1.4.tar.gz -
Subject digest:
fc6f940769341fa49419d2692dcee2c03d2a3b34202d0e616eb4042227794f01 - Sigstore transparency entry: 1658000596
- Sigstore integration time:
-
Permalink:
Sybilion-AI/sybilion-python@084be4e7eb16052b17e6d4942283be7b4ff25965 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/Sybilion-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@084be4e7eb16052b17e6d4942283be7b4ff25965 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sybilion-0.1.4-py3-none-any.whl.
File metadata
- Download URL: sybilion-0.1.4-py3-none-any.whl
- Upload date:
- Size: 71.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
194023015c965f49f3bba7150cab1b5928b33c2050c9b57ef0bce07d1b719711
|
|
| MD5 |
43172c3c4780cf5e1f97b91fa9cb7588
|
|
| BLAKE2b-256 |
9a951bb01a2360c4750af61011897395b9b25746deef8ffa5f2dc8bf30e1ad46
|
Provenance
The following attestation bundles were made for sybilion-0.1.4-py3-none-any.whl:
Publisher:
release.yml on Sybilion-AI/sybilion-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sybilion-0.1.4-py3-none-any.whl -
Subject digest:
194023015c965f49f3bba7150cab1b5928b33c2050c9b57ef0bce07d1b719711 - Sigstore transparency entry: 1658000738
- Sigstore integration time:
-
Permalink:
Sybilion-AI/sybilion-python@084be4e7eb16052b17e6d4942283be7b4ff25965 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/Sybilion-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@084be4e7eb16052b17e6d4942283be7b4ff25965 -
Trigger Event:
push
-
Statement type: