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
Metadata
Release files for uhlive 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| uhlive-2.1.0.tar.gz | 13.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| uhlive-2.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.7 kB
Release files / uhlive-2.1.0.tar.gz
| Download URL | uhlive-2.1.0.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
707dd90c2bcb7266d9283e3a829e75dfb9a22435719de581276cce5f06e21bc5
|
|
BLAKE2b-256 checksum How to use checksums |
cd57cc3cb584e97f60d25ac437c18413a8ce039d8bad4f268d1a890d1451b973
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / uhlive-2.1.0-py3-none-any.whl
| Download URL | uhlive-2.1.0-py3-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
daa9b6897fa2049f5c00016fddb64176822d266e38d9fe630df66a36bf1d7161
|
|
BLAKE2b-256 checksum How to use checksums |
05684134e73503a450917049719b8861c628c6b5fbc974843ce7b885b222e6bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|