Metadata-Version: 2.4
Name: wfloat
Version: 1.0.0
Summary: High-level Python wrapper for Wfloat TTS
Home-page: https://github.com/wfloat/wfloat-python
Author: wfloat
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: wfloat-sherpa-onnx==1.12.23
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# 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:

```bash
pip install wfloat
```

That will also install the matching `wfloat-sherpa-onnx` dependency from PyPI.

When installing from this repo locally:

```bash
pip install ./packages/wfloat-python
```

## Usage

```python
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

- `wfloat` does not build or bundle native libraries.
- Low-level bindings come from the installed `wfloat-sherpa-onnx` dependency,
  which provides `import sherpa_onnx`.
- The public API is intentionally high-level; low-level native config objects
  are re-exported only for advanced use.
