Bitcaster Python SDK
Python client for the Bitcaster event notification platform.
Quick start
Set your Bitcaster API endpoint:
export BITCASTER_BAE=https://<API_KEY>@<SERVER>/api/o/<organization_slug>/
Sync client
from bitcaster_sdk import Client
client = Client("https://<API_KEY>@<SERVER>/api/o/<organization_slug>/")
client.set_domain("my-project", "my-app")
result = client.trigger_event("order.created", context={"id": "abc-123"})
print(result)
users = client.list_users()
events = client.list_events("my-project", "my-app")
projects = client.list_projects()
Async client (non-blocking)
from bitcaster_sdk import AsyncClient
with AsyncClient("https://<API_KEY>@<SERVER>/api/o/<organization_slug>/") as client:
client.set_domain("my-project", "my-app")
future = client.trigger_event("order.created", context={"id": "abc-123"})
result = future.result(timeout=10)
print(result)
The async client runs HTTP requests on a background thread. The context manager ensures clean shutdown.
Module-level API (quick scripts)
import bitcaster_sdk
bitcaster_sdk.init() # reads BITCASTER_BAE env var
bitcaster_sdk.set_domain("my-project", "my-app")
result = bitcaster_sdk.trigger_event("order.created")
users = bitcaster_sdk.list_users()
CLI
# Check connectivity
bitcaster ping
# Trigger an event
bitcaster trigger --project my-project --application my-app event-slug \
--context order_id abc-123
# List resources
bitcaster projects
bitcaster applications --project my-project
bitcaster events --project my-project --application my-app
bitcaster users list
# Start a fake dev server
bitcaster serve --port 9000
See the CLI reference for full documentation.
Metadata
Release files for bitcaster-sdk 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bitcaster_sdk-0.4.tar.gz | 17.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bitcaster_sdk-0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.3 kB
Release files / bitcaster_sdk-0.4.tar.gz
| Download URL | bitcaster_sdk-0.4.tar.gz |
|---|---|
| Size | 17.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2eceb4f638580b416817a4ce78305de7b3f381d50dc14d44cc63fca73e2c872
|
|
BLAKE2b-256 checksum How to use checksums |
a5bb1127ba4dff32c5374209f7e99f3632297dc90b62d16ac894a3482c3f22cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 15, 2026.
Transparency logRelease files / bitcaster_sdk-0.4-py3-none-any.whl
| Download URL | bitcaster_sdk-0.4-py3-none-any.whl |
|---|---|
| Size | 24.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cb2f34d472ddcb642dda7d557a889dafacdfb266500d9ff775c6177ca9131814
|
|
BLAKE2b-256 checksum How to use checksums |
e273ca9c0ae57a0f50e8f7a8e100e4e1ab4285370fc981a1a149bd8b763e3c3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 15, 2026.
Transparency log