A previous release had provenance metadata, but this release does not. View details.
auvux
Annotate faster. See deeper. Sound smarter.
Push inference runs from a Python notebook to a browser viewer over WebRTC.
Bytes flow peer-to-peer over a DataChannel; identical bytes across runs
and viewers are deduplicated via per-viewer SHA-256 content addressing.
Auth is GitHub OAuth (user:email scope) verified by an HMAC-signed
JWT — your tokens never leave your machine.
Install
pip install --pre auvux
(--pre while we're on the 0.1.2 alpha release.)
Use
auvux login # GitHub Device Flow, caches a JWT in ~/.auvux/
auvux whoami # confirm
import auvux
from auvux import lanes, markers
# Same as `auvux login`, but inline. Idempotent — no-op if already
# signed in.
auvux.login()
canvas = auvux.Canvas("Beat Detection")
canvas.add(
lanes.Waveform.from_path("demo.wav", size=160, label="mix"),
markers=[markers.vlines(beats, color="#FFFF00")],
)
canvas.add(lanes.Heatmap(spect, yaxis="mel", fmin=30, fmax=11000, size=256))
canvas.add(lanes.line(t, beat_logits, color="#4CAF50", label="beats", fill=True))
canvas.minimap(from_lane=0)
canvas.clicks(beats, freq=800)
canvas.show() # opens at https://inference.auvux.com
Open https://inference.auvux.com in your browser before running
canvas.show() — the publisher waits up to 60 seconds for at least
one viewer to be present.
Waveform.from_path() accepts both local paths and http(s):// URLs;
remote files are fetched once into memory and reused without a second
round-trip on emit.
What gets sent
Each call to canvas.show() packages:
- A
manifest.jsondescribing the lanes and their layout - Sidecar files: WAV / NPY / NPZ / CSV / JSON, per lane type
- Click-track time lists (if any)
The viewer pre-announces which file hashes it already has, so unchanged audio across iterations is sent once — subsequent runs reuse the cached blob.
Auth flow
auvux.login() runs the GitHub Device Flow with scope user:email:
- Asks GitHub for a short user code (
XXXX-XXXX) - Opens the browser to the verification URL
- Polls until you authorise
- Swaps the GitHub access token for an auvux JWT at
https://inference.auvux.com/api/auth/cli-exchange - Caches the JWT in
~/.auvux/credentials.json(chmod 600)
Subsequent auvux.login() calls are no-ops if the cached token is
still valid; pass force=True to re-authenticate.
Environment
| Var | Default | Purpose |
|---|---|---|
AUVUX_SIGNALLING_URL |
from ~/.auvux/credentials.json, otherwise wss://signalling.auvux.com/signalling/me |
Override the signalling endpoint (escape hatch for local dev) |
AUVUX_API_BASE |
https://inference.auvux.com |
Auvux API host used for cli-exchange |
AUVUX_GH_CLIENT_ID |
built-in | GitHub OAuth App client id |
AUVUX_PEER_WAIT |
60 |
Seconds to wait for a viewer before erroring |
AUVUX_ACK_WAIT |
30 |
Seconds to wait per-viewer for delivery ack |
Development
git clone https://github.com/auvux/auvux-py
cd auvux-py
pip install -e .
Release a new version: bump version in pyproject.toml, then
git tag v0.1.2
git push --tags
The release.yml workflow builds the wheel + sdist and publishes to
PyPI via OIDC (Trusted Publisher) — no API token in the repo.
License
MIT — see LICENSE.
Metadata
Release files for auvux 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Loss of provenance
These files do not have provenance metadata, despite files in a prior release including this data.
We recommend further investigation before installing these files. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| auvux-0.2.0.tar.gz | 38.4 kB | Without provenance | Details for auvux-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| auvux-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for auvux-0.2.0-py3-none-any.whl |
Total release size: 79.1 kB
Release files / auvux-0.2.0.tar.gz
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | auvux-0.2.0.tar.gz |
|---|---|
| Size | 38.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41cf091862672668b21bf59ccc35eed9ed2e007b8fdf73d10603d5c80a9399aa
|
|
BLAKE2b-256 checksum How to use checksums |
3d68853fee8c9665ba902d0c722eb4a38474fa37e2d85762eed5b9b3d2dc4c07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / auvux-0.2.0-py3-none-any.whl
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | auvux-0.2.0-py3-none-any.whl |
|---|---|
| Size | 40.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
141932e88429f714ff5ab58d4dc423f9d28bc7a86db8be9a8b79fd4e4c93cfcd
|
|
BLAKE2b-256 checksum How to use checksums |
8592cdd6b0f196d0f4c1aa8cf0866f7329f943be3d3d141bb7b77bb4bc58d8a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for auvux 0.2.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.
Loss of provenance
A previous release of these files had provenance metadata, but this release does not.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Release comparison
- Removed 0.1.0a5 2 files With provenance
- Added 0.2.0 2 files Without provenance
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.