Skip to main content

Uhlive Python SDK

Project description

Uh!ive Python SDK

The Uh!live Python SDK provides convenient access to the Uh!live API from applications written in the Python language.

Read the full documentation.

Installation from source

This project uses uv.

uv sync --all-extras

Installation from Pypi

pip install uhlive

or as a dependency to a project managed by uv:

uv add uhlive

Tools

If you have just and uv installed, you have a convenient way to run the tooling. Otherwise, you can run the commands in the justfile manually.

Format the sources

just format

Will run isort & black

Lint the sources

just lint

Will run ruff & mypy

Run the tests

just test

Compile the docs to html

just docs

Run format, lint and tests in one go

just

Contrary to tox, it will stop at the first error. So that we're not drown in (duplicate) error messages.

Usage

See the README.md in each of the example folders.

Audio files

To play with the examples, you should have a raw audio file. This raw audio file should be in the proper format. This can be done using a source audio file in wav format using the following command:

sox audio_file.wav  -t raw -c 1 -b 16 -r 8k -e signed-integer audio_file.raw

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

uhlive-2.1.0.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

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

uhlive-2.1.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file uhlive-2.1.0.tar.gz.

File metadata

  • Download URL: uhlive-2.1.0.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for uhlive-2.1.0.tar.gz
Algorithm Hash digest
SHA256 707dd90c2bcb7266d9283e3a829e75dfb9a22435719de581276cce5f06e21bc5
MD5 ffe744b288ee8165ada62c2c7da34dbb
BLAKE2b-256 cd57cc3cb584e97f60d25ac437c18413a8ce039d8bad4f268d1a890d1451b973

See more details on using hashes here.

File details

Details for the file uhlive-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: uhlive-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for uhlive-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 daa9b6897fa2049f5c00016fddb64176822d266e38d9fe630df66a36bf1d7161
MD5 a29a7aed818c3dbc0f0a08aa8aa15ec1
BLAKE2b-256 05684134e73503a450917049719b8861c628c6b5fbc974843ce7b885b222e6bb

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