Skip to main content

tono Python bindings

Compose typed songs, render SoundDocs and parameterized patches to numpy, or control live instruments, drum kits and adaptive music through native audio. CPython 3.9+ is supported with abi3 wheels. Install from PyPI with pip install tono-py (the import name is tono; the tono PyPI name belongs to an unrelated project).

Or build from a repository checkout in an activated virtual environment:

python -m pip install maturin numpy
maturin develop -m crates/tono-py/Cargo.toml
python crates/tono-py/tests/smoke.py
python crates/tono-py/tests/test_typed.py
maturin build --locked --release -m crates/tono-py/Cargo.toml

Linux builds need ALSA development headers. The Wheels workflow builds an install-tested Linux x86_64 wheel and an sdist; release tags publish both to PyPI.

Type stubs

python/tono/__init__.pyi and instruments.pyi are hand-maintained; when a binding's name, parameters or defaults change, update the stub alongside it. scripts/wheel_test.py (the CI wheel gate) runs mypy's stubtest, which compares the installed extension against the stubs; the few things PyO3 cannot expose are listed with reasons in stubtest-allowlist.txt. To run it locally against a built wheel directory, or directly in an environment where maturin develop has installed the package:

python scripts/wheel_test.py dist
python -m pip install mypy && python -m mypy.stubtest tono --allowlist crates/tono-py/stubtest-allowlist.txt

See the Python guide, live runtime guide, runnable API tours, and complete reference scores. The root README covers contributor gates and releases. tono is MIT licensed.

Metadata

Release files for tono-py 1.11.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 tono-py 1.11.0
File Size Uploaded Provenance Actions
tono_py-1.11.0.tar.gz 399.9 kB With provenance Details for tono_py-1.11.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tono-py 1.11.0
File Interpreter ABI Platform Actions
tono_py-1.11.0-cp39-abi3-manylinux_2_28_x86_64.whl CPython 3.9 abi3 Linux glibc 2.28+ x86-64 Details for tono_py-1.11.0-cp39-abi3-manylinux_2_28_x86_64.whl

Total release size: 2.6 MB

Release files / tono_py-1.11.0.tar.gz

Download URL tono_py-1.11.0.tar.gz
Size 399.9 kB
Tags Source
SHA-256 checksum
How to use checksums
03e617612a6cce8157e54fedbb81af84c04952781160b9247c302de569f017ac
BLAKE2b-256 checksum
How to use checksums
9f55f540d62ed9ad2d1db62ba414dec3c75702802e4ad37a245a3cd83cd4696f
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 Oct 14, 2026.

Transparency log

Release files / tono_py-1.11.0-cp39-abi3-manylinux_2_28_x86_64.whl

Download URL tono_py-1.11.0-cp39-abi3-manylinux_2_28_x86_64.whl
Size 2.2 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
26e51af2941bacd071d4d660dc5ce5e4a3f201323d84946bcd3fc048366d6d14
BLAKE2b-256 checksum
How to use checksums
27f13d3ef59c326277d3380668362aefbbf827b5f171eb91c365170b2a9a94a9
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 Oct 14, 2026.

Transparency log

Security for tono-py 1.11.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 tono_py-1.11.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 Oct 14, 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.

Release history Release notifications | RSS feed

This release

1.11.0 This release

2 release files Full 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