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.1.tar.gz (4.5 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.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hume_api-0.2.1.tar.gz
  • Upload date:
  • Size: 4.5 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.1.tar.gz
Algorithm Hash digest
SHA256 1641fdbb5d20a688b9611ff780be18178f884369b6b6a1514e5e92ae47fd4ac3
MD5 90dcdf21d314bfc8b87a8e0856da5e93
BLAKE2b-256 82b4399f567cd48175f9a1de0b6e42de897ea5030a9ccbed4eac25297420064f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hume_api-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7605fdb898184e523f2f891ef5aa9876761f7acedc7edb99eba145ab757fd06b
MD5 7766116a5e4ff6fe04fa5d17dd7fc2d8
BLAKE2b-256 ba2b89ae8998086e61535b00a0e81e78cd10a2efd30d88e61eda7805f7005e7e

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