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=access_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.2.4.tar.gz
(4.6 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.2.4.tar.gz.
File metadata
- Download URL: hume_api-0.2.4.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e09f21d3dc47b63e29b37013b227143a173242654194a97fcb5bf5248366363f
|
|
| MD5 |
e4d44daffc86721ad6d923df499495dd
|
|
| BLAKE2b-256 |
2f9108a8c4878647ef9a958d9b86506275d9d9f9ac83cf0ab8405a976aeb1ed0
|
File details
Details for the file hume_api-0.2.4-py3-none-any.whl.
File metadata
- Download URL: hume_api-0.2.4-py3-none-any.whl
- Upload date:
- Size: 5.1 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 |
54cbd008c5e8b828e2b29190e9d9d0d0cd79dc0b0abd66d48e48e1e3845f4c9f
|
|
| MD5 |
e5e0131315f0114003549d776f8d0577
|
|
| BLAKE2b-256 |
c29b164f756d2e66b064b1b99798ed7a4795d1370d362f3690aba7d5433c31a0
|