Skip to main content

beatbot-cloud

beatbot-cloud is the asynchronous Python client for Beatbot cloud accounts. It provides region-aware REST access, typed device models, and a WebSocket event transport without depending on Home Assistant.

from beatbot_cloud import BeatbotClient, BeatbotEventClient

client = BeatbotClient(
    region="na",
    session=session,
    access_token=async_get_access_token,
)
devices = await client.get_devices()

events = BeatbotEventClient(
    session,
    client.event_stream_url,
    client.async_get_access_token,
    async_handle_event,
    reconnect_callback=async_handle_reconnect,
    token_refresh_callback=async_refresh_access_token,
)
await events.async_run()

The caller provides an access token or a synchronous/asynchronous token provider. The library owns REST request construction and WebSocket reconnection; applications can register callbacks for events, successful reconnections, and rejected-token refreshes.

Development

python -m pip install -e '.[test]'
pytest
ruff check .
ruff format --check .
python -m build

Metadata

Release files for beatbot-cloud 0.4.0

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

Source distribution (sdist)

Source distribution for beatbot-cloud 0.4.0
File Size Uploaded Provenance Actions
beatbot_cloud-0.4.0.tar.gz 17.4 kB With provenance Details for beatbot_cloud-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for beatbot-cloud 0.4.0
File Interpreter ABI Platform Actions
beatbot_cloud-0.4.0-py3-none-any.whl Python 3 none any Details for beatbot_cloud-0.4.0-py3-none-any.whl

Total release size: 32.5 kB

Release files / beatbot_cloud-0.4.0.tar.gz

Download URL beatbot_cloud-0.4.0.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c7fb8205e6c6aa8657ab068785298bff6fcbc8556b67cd4405d35c0650fa0095
BLAKE2b-256 checksum
How to use checksums
ca36d07400e38446d3240bc9e118c8c6913bad3e81604e771fc1bd19e0970dac
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 12, 2026.

Transparency log

Release files / beatbot_cloud-0.4.0-py3-none-any.whl

Download URL beatbot_cloud-0.4.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e2efd73e40d45a588618bb0877ed1a19c3f01626a0fd945fc0ed99579bfb287
BLAKE2b-256 checksum
How to use checksums
9ec9cc68909691282bdf50a82f78660ef2c1aed502924eb333fb89763cec3427
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 12, 2026.

Transparency log

Security for beatbot-cloud 0.4.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for beatbot_cloud-0.4.0.tar.gz

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 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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