High-level Python wrapper for Wfloat TTS
Project description
wfloat
wfloat is a high-level Python wrapper around sherpa-onnx for loading
Wfloat-compatible speech models and generating audio files.
Install
Install wfloat normally:
pip install wfloat
That will also install the matching wfloat-sherpa-onnx dependency from PyPI.
When installing from this repo locally:
pip install ./packages/wfloat-python
Usage
import wfloat
model = wfloat.load("wfloat/wfloat-tts")
result = model.generate(
text="The signal is clean. Start the recording.",
voice_id="narrator_woman",
emotion="neutral",
intensity=0.5,
speed=1.0,
)
result.audio.save("out.wav")
Notes
wfloatdoes not build or bundle native libraries.- Low-level bindings come from the installed
wfloat-sherpa-onnxdependency, which providesimport sherpa_onnx. - The public API is intentionally high-level; low-level native config objects are re-exported only for advanced use.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wfloat-1.0.0.tar.gz.
File metadata
- Download URL: wfloat-1.0.0.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
486fa7161eed718edb14862ae6a5c1bb2b03839f0c14541d885fb2db73bb44b2
|
|
| MD5 |
62b9d5382cc482d09c218cb03806a428
|
|
| BLAKE2b-256 |
28a9c447c9513f5e4bd703d37172f8b4016ad3a74d8eb94f6f15a4ff82eeb331
|
Provenance
The following attestation bundles were made for wfloat-1.0.0.tar.gz:
Publisher:
wheels.yml on wfloat/wfloat-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wfloat-1.0.0.tar.gz -
Subject digest:
486fa7161eed718edb14862ae6a5c1bb2b03839f0c14541d885fb2db73bb44b2 - Sigstore transparency entry: 1497724110
- Sigstore integration time:
-
Permalink:
wfloat/wfloat-python@1d6436abb362870afdbb4246fc2c7db3eb7748d5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/wfloat
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@1d6436abb362870afdbb4246fc2c7db3eb7748d5 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file wfloat-1.0.0-py3-none-any.whl.
File metadata
- Download URL: wfloat-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
517fbe9d1e10ee4b6d860ca6e9ef1a819f05093dd8f0471712b4add3242064b4
|
|
| MD5 |
6117147215f97cb095de72de16377daf
|
|
| BLAKE2b-256 |
cda650417bd9ecee093a835164ea1d36fd7be35e063549829ee50a623a2b145b
|
Provenance
The following attestation bundles were made for wfloat-1.0.0-py3-none-any.whl:
Publisher:
wheels.yml on wfloat/wfloat-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wfloat-1.0.0-py3-none-any.whl -
Subject digest:
517fbe9d1e10ee4b6d860ca6e9ef1a819f05093dd8f0471712b4add3242064b4 - Sigstore transparency entry: 1497724214
- Sigstore integration time:
-
Permalink:
wfloat/wfloat-python@1d6436abb362870afdbb4246fc2c7db3eb7748d5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/wfloat
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@1d6436abb362870afdbb4246fc2c7db3eb7748d5 -
Trigger Event:
workflow_dispatch
-
Statement type: