Skip to main content

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.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hume_api-0.1.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file hume_api-0.1.1.tar.gz.

File metadata

  • Download URL: hume_api-0.1.1.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

Hashes for hume_api-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7e09bce27d2b66a49a8158d63a64bda0e3745ea925cccd18398b51386d87c9cc
MD5 7129b0e76e30ec752df5dbdca8144ca4
BLAKE2b-256 a0839ddcb6f6ae91b85defcf0e6c438726b5570aee1925e3380dac2f194b6430

See more details on using hashes here.

File details

Details for the file hume_api-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: hume_api-0.1.1-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

Hashes for hume_api-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c0c7079540b189e3071bf7cd1321aaed286c504d14e785bf6286688ec4a9859
MD5 a009955fcb9b2d8e2a20f3e38b0dccd5
BLAKE2b-256 ab594e51cd4fffe255fe9c4fb158143679fca75c9dead6d986bf1e37b30268b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page