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.2.3.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.2.3-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hume_api-0.2.3.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.2.3.tar.gz
Algorithm Hash digest
SHA256 cd8f0282f323229579a8a374729e64d71b0f8f276d729ac7b609772ebd4df59b
MD5 47c910b597fa1e7d5669ee39dc69f06a
BLAKE2b-256 edcf7785c968589f450a34b34ad2812d0d2d2d940b8a1cba40ee4bedb744d90a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hume_api-0.2.3-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.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 45572e204c8672f107ec5e3b14b8b7e72cbe950d783f820a554db19fe29aa373
MD5 b09cf2ee88380abfca43134a3180993c
BLAKE2b-256 46af171c42019ef1f19e769335fa2b93ddd55515dae4d1e18d6dd704575e4272

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