Simple client for Hume API with audio support
Project description
hume_api
A simple Python client for the Hume API with audio streaming support.
Installation
pip install hume_api
Usage
from hume_api import HumeClient
client = HumeClient(
api_url="wss://hume-8cac.onrender.com",
access_token="YOUR_TOKEN",
enable_audio=True
)
response = client.responses_create(
input="Write a one-sentence bedtime story about a unicorn."
)
print(response.output_text)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hume_api-0.1.0.tar.gz
(4.4 kB
view details)
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 hume_api-0.1.0.tar.gz.
File metadata
- Download URL: hume_api-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1a02e0e2e8f02df89258f580bc735d9d57a2451f75a75fee678b53faaa45214
|
|
| MD5 |
c585a4c3801ec4f869a4a22d252b7109
|
|
| BLAKE2b-256 |
76c4718314f1d206c37d3afe8157374afe13f7ac31d04c98e318b375ec82f224
|
File details
Details for the file hume_api-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hume_api-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c882f15cc40a3274ce1e1c784590499166deab3d02b1dcc3436c2f0dd54694a3
|
|
| MD5 |
aeabbd0d1f32f634657807c5d5fb1c6a
|
|
| BLAKE2b-256 |
79a3963418975ae00f10e309ca413aa4932d989ccac9e2ebbf1dc44aae6451a8
|