Skip to main content

NWaves leader bridge

Drives the NWaves SO-101 simulation with the leader arm plugged into your own computer, for browsers that cannot open USB devices themselves (Firefox, Safari). Chrome and Edge connect over USB directly from the session page and do not need it.

Install and run (the session page shows the same one-liners):

macOS / Linux:   curl -fsSL https://<academy host>/nwaves-leader.sh | sh
Windows:         irm https://<academy host>/nwaves-leader.ps1 | iex
any:             python3 -m pip install nwaves-leader   then   nwaves-leader

Then press "Connect through the NWaves leader bridge" in the session page.

The bridge listens on 127.0.0.1:8765 only, accepts connections from nwaves.ai pages only, and sends nothing but the six servo positions to the page in your browser. The page does the calibration and forwards the positions to your simulation.

What the academy hosts and how to rebuild it (from the repo root): sh tools/nwaves-leader/build.sh

  • nwaves-leader.pyz: the self-contained app the installers download (pyserial is vendored, BSD licence kept inside), runs with any Python 3.8+ as python3 nwaves-leader.pyz
  • nwaves_leader-<version>-py3-none-any.whl: for pip install and for PyPI
  • nwaves-leader.py: the single-file version (needs pyserial)

Publishing to PyPI (name nwaves-leader was free on 2026-10-17): create the NWaves account on pypi.org with 2FA, make an API token, then python3 -m pip install build twine && python3 -m build && twine upload dist/* with TWINE_USERNAME=__token__ TWINE_PASSWORD=<token>. Bump version in pyproject.toml and setup.py first.

Metadata

Release files for nwaves-leader 0.1.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 nwaves-leader 0.1.1
File Size Uploaded
nwaves_leader-0.1.1.tar.gz 5.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nwaves-leader 0.1.1
File Interpreter ABI Platform
nwaves_leader-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.1 kB

Release files / nwaves_leader-0.1.1.tar.gz

Download URL nwaves_leader-0.1.1.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b43a961a694d07279f8d287ff27f67bb950c45cf06b25397e924e6853e05d7f8
BLAKE2b-256 checksum
How to use checksums
585a8b462ed552b8e188f5ab8b004f425c9c4586967dfa0a5f2bb83515df8bba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / nwaves_leader-0.1.1-py3-none-any.whl

Download URL nwaves_leader-0.1.1-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4e226b44b09a16b3dd4e5451cef6d5181053dcc9a32cb7956c8c35f7a2201da
BLAKE2b-256 checksum
How to use checksums
78408eb0849607f76eb3b3baa56d07782914ad41a191ec8135e398646e82fe22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

1 release file

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