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=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.6.tar.gz (2.2 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.6-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hume_api-0.2.6.tar.gz
  • Upload date:
  • Size: 2.2 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.6.tar.gz
Algorithm Hash digest
SHA256 b6b8442a9e8894f845ba248d84faf89bfda592266938dc62d33de641457ebef3
MD5 bca97348d1a3d90dbba127e2eefeb73d
BLAKE2b-256 2fc507f998fbcac852f18dac2d45f70dcac6bf5a6c4a8d1da2e135a2a1dd46e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hume_api-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 2.2 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4f65afc57a32218cda14c90db061d4bb40119cf8a677aabfc4c21ef6fc588bf3
MD5 f431c1be1db13d21c637454ada6b60b3
BLAKE2b-256 a7e4617a35a581fd9598f97d7def7c31ecf471a8ac08fdaadbb9dd324ef9c6a1

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