Skip to main content

nao-websocket-bridge-client

Laptop client for the process that runs on the NAO. It speaks nao-websocket-bridge-protocol: a format announcement, binary PCM, and periodic status.

This package does not talk to NAOqi and does not know about Pipecat. Speech, motion, and buttons stay on port 9559 through naoqi-control. The bridge is the realtime stream.

from nao_websocket_bridge_client import iter_bridge_messages, websocket_url

url = websocket_url("192.168.2.50", 8765, token="")
async for kind, payload in iter_bridge_messages(url):
    ...

tcp_accepts and wait_until_tcp_accepts probe the bridge port. next_reconnect_delay is the backoff for a socket that drops as soon as it connects.

python -m nao_websocket_bridge_client --url ws://ROBOT:8765 prints RMS for each PCM chunk.

Metadata

Release files for nao-websocket-bridge-client 0.1.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 nao-websocket-bridge-client 0.1.0
File Size Uploaded Provenance Actions
nao_websocket_bridge_client-0.1.0.tar.gz 8.2 kB Without provenance Details for nao_websocket_bridge_client-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nao-websocket-bridge-client 0.1.0
File Interpreter ABI Platform Actions
nao_websocket_bridge_client-0.1.0-py3-none-any.whl Python 3 none any Details for nao_websocket_bridge_client-0.1.0-py3-none-any.whl

Total release size: 17.3 kB

Release files / nao_websocket_bridge_client-0.1.0.tar.gz

Download URL nao_websocket_bridge_client-0.1.0.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
27882dd28ea9c4c89f0bc72ca0f594e5d1716e7fc237c1244f097306eac365f8
BLAKE2b-256 checksum
How to use checksums
db8492c6989697e390c2c9e324922cf2015cbc020fda874352b7abf3127b3589
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / nao_websocket_bridge_client-0.1.0-py3-none-any.whl

Download URL nao_websocket_bridge_client-0.1.0-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3e7b7d047530daeb00736761ad2aa157ecc8b3861242157c2de3e6fda793fa8
BLAKE2b-256 checksum
How to use checksums
f71b541c1a0d9a15943eed3fae5665c6a78863d2c9bf442d6232c6949e0f6d39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for nao-websocket-bridge-client 0.1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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