Metadata-Version: 2.4
Name: gradium
Version: 0.5.4
Summary: Python client for Gradium API
Project-URL: Homepage, https://gradium.ai
Project-URL: Repository, https://github.com/gradium/gradium-py
Project-URL: Bug Tracker, https://github.com/gradium/gradium-py/issues
Project-URL: Documentation, https://docs.gradium.ai
Author-email: Gradium AI <contact@gradium.ai>
License-Expression: MIT
License-File: LICENSE
Keywords: ai,api,gradium,streaming,stt,tts,voice
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.12
Requires-Dist: aiohttp>=3.8.0
Requires-Dist: numpy>=1.20.0
Provides-Extra: dev
Requires-Dist: black; extra == 'dev'
Requires-Dist: mypy; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-asyncio; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Description-Content-Type: text/markdown

# Gradium Python Client

Python client library for the [Gradium Voice AI API](https://gradium.ai).

## Text-to-Speech Streaming Example

You can find some examples in the `examples/` directory. Try them out with
[uv](https://docs.astral.sh/uv/getting-started/installation/). For
the text-to-speech streaming example, run:

```bash
uv run --with sphn examples/tts_streaming.py \
    --text "Hello, this is a test of the Gradium TTS streaming API." \
    --api-key gsk_...
```

## Speech-to-Text Streaming Example

You can also try the speech-to-text streaming example:

```bash
uv run --with sphn examples/tts_streaming.py \
    --audio test_file.mp3 \
    --api-key gsk_...
```
