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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hume_api-0.2.5.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.5.tar.gz
Algorithm Hash digest
SHA256 9dcacdb734c6ecf31bafcb4490251b484fb7487709ff9413c154243ead95c195
MD5 8874c449bd899d269986188cd93211cb
BLAKE2b-256 119960f2a758f8e28c02584e81c8c5298885fdb2842e58e238b4041509ff66ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hume_api-0.2.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fb90fa3520e62d55680dfd270ab40ec6117fd146088b67573684092b7862f503
MD5 cd29dd9309e820a35858b48adb9da696
BLAKE2b-256 3ce414f3076ea42d4f7b068299bc69862df206381902f8a1e2b1867720211c51

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