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.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 beatbot-cloud 0.4.1
File Size Uploaded Provenance Actions
beatbot_cloud-0.4.1.tar.gz 17.5 kB With provenance Details for beatbot_cloud-0.4.1.tar.gz

Built distribution (wheel)

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

Total release size: 32.6 kB

Release files / beatbot_cloud-0.4.1.tar.gz

Download URL beatbot_cloud-0.4.1.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c818415c92d5d9557992857783ec1ad1a7eabb80e2435ebf5af2b5f5a34869a3
BLAKE2b-256 checksum
How to use checksums
215012a351677c8b6df833390c6c1389f577eecd0fec882f689f95e87308c719
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.1-py3-none-any.whl

Download URL beatbot_cloud-0.4.1-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
387cd0d0663b57f2057cabcd01504730c7bda2e076affe7a257f6d2816664b34
BLAKE2b-256 checksum
How to use checksums
68003b3bff89c7ed845d34d49d81acc78405a09ea63aa3a684c59ff544b1afd5
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.1

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.1.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