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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uhlive-2.0.0.tar.gz.
File metadata
- Download URL: uhlive-2.0.0.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7e4734c3cb8905b2ebcba175704ad9b4d35ce743dacb3e48816172433641bae
|
|
| MD5 |
5cd91c1b915e3806ebbdde7fd255948d
|
|
| BLAKE2b-256 |
842205f38586322276e017403820abd3b1b5ea3dddd73cbaafda1adae75f1887
|
File details
Details for the file uhlive-2.0.0-py3-none-any.whl.
File metadata
- Download URL: uhlive-2.0.0-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a3e28e2d38dccb55ba7382880a60909424d5cbd9acad14c3f4c98d7cbef3827
|
|
| MD5 |
e4aebd269713d6f225f69b31558ce35d
|
|
| BLAKE2b-256 |
623547c9dbc3717b05030d248fc057340801ee1921a17128599659148926801d
|