Skip to main content

py-nanotts

Python bindings for NanoTTS (SVOX Pico). Generates raw PCM audio in a portable ABI3 wheel.

Features

  • Pure C extension using PicoTTS engine
  • ABI3 / limited Python C API
  • Returns raw PCM audio (16 kHz, mono, 16-bit LE)
  • Bundles the Pico lingware files

Install

Build a wheel locally:

python -m build --wheel

Install the resulting wheel from the dist/ directory.

Usage

from py_nanotts import NanoTTS

pcm = NanoTTS().speak("Hello world", voice="en-GB", speed=1.0)

NanoTTS.speak() returns raw PCM bytes. Format:

  • 16 kHz sample rate
  • 1 channel (mono)
  • 16-bit little-endian

CLI

A minimal CLI is provided:

python -m py_nanotts "Hello world" -o hello.wav -v en-GB

Notes

  • Voices: en-GB, en-US, de-DE, es-ES, fr-FR, it-IT.
  • The CLI writes a WAV file using Python's wave module.

Metadata

Release files for py-nanotts 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-nanotts 0.1.2
File Size Uploaded Provenance Actions
py_nanotts-0.1.2.tar.gz 9.7 MB With provenance Details for py_nanotts-0.1.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for py-nanotts 0.1.2
File Interpreter ABI Platform Actions
py_nanotts-0.1.2-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for py_nanotts-0.1.2-cp39-abi3-win_amd64.whl
py_nanotts-0.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for py_nanotts-0.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
py_nanotts-0.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details for py_nanotts-0.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl

Total release size: 25.0 MB

Release files / py_nanotts-0.1.2.tar.gz

Download URL py_nanotts-0.1.2.tar.gz
Size 9.7 MB
Tags Source
SHA-256 checksum
How to use checksums
b1c9f3c39b5fe2f3bed7e65dbc8a22ae4cccec427a52ad7a640541300b83bbe2
BLAKE2b-256 checksum
How to use checksums
c330b62a616427ad15a68e214979f989c99714e97d891478bde29629cd88d989
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 28, 2026.

Transparency log

Release files / py_nanotts-0.1.2-cp39-abi3-win_amd64.whl

Download URL py_nanotts-0.1.2-cp39-abi3-win_amd64.whl
Size 4.8 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
9fec96d059abcf55fd5ffff101c53ea67106c2ada9d5ef80c47a8f64c5808b84
BLAKE2b-256 checksum
How to use checksums
a5f4ac43c478bd8207c1a9f64f96703e024937a363829117472b54575f6595ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 28, 2026.

Transparency log

Release files / py_nanotts-0.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl

Download URL py_nanotts-0.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Size 5.3 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
dff99b25c0aba496f8cfb6eafb3e200d53340484e112a1bd5d57df288de7ec99
BLAKE2b-256 checksum
How to use checksums
32f4425a0b741600badb62a987abf7c556b357f3b4e051d413823939c112122b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 28, 2026.

Transparency log

Release files / py_nanotts-0.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl

Download URL py_nanotts-0.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl
Size 5.3 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
475cb9f47748b91eda8ae501b47de12ba5dccb98704e6516631c66083daa9549
BLAKE2b-256 checksum
How to use checksums
be6b636408c1dd1f50531bfe1a81c7c2e595b6005ea1943feefb68dcc7bc339a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 28, 2026.

Transparency log

Security for py-nanotts 0.1.2

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

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for py_nanotts-0.1.2.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 28, 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