Tiny completion sounds for Python scripts and the command line.
Project description
Dunzo
Tiny completion sounds for Python scripts and the command line.
Dunzo is useful when a training job, notebook cell, shell command, or long-running script finishes and you want a simple notifcation sound.
Install
pip install dunzo
For local development with UV:
uv sync
uv run pytest
uv run dunzo --list-sounds
Use In Python
# done or dunzo are identical, you can choose one.
from dunzo import done, dunzo
done()
dunzo()
# for specific sounds
done("success")
done("positive")
done("trumpet")
done("chime")
done("/path/to/your/sound.mp3")
Use From The Command Line
# bare command
dunzo
# run specific sounds
dunzo success
dunzo positive
dunzo trumpet
dunzo chime
dunzo /path/to/your/sound.mp3
# Built-in sounds:
dunzo --list-sounds
The package also installs a done console script, but done is a reserved word in
common shells like zsh and bash. Use dunzo as the normal terminal command, or run
the alias through another command:
uv run done
command done positive
\done trumpet
Dunzo uses local system audio players when available. If none are available, built-in sounds fall back to the terminal bell.The default sound is success.
Sound Licensing
Dunzo bundles a few short notification sounds from Pixabay under the Pixabay Content License. Attribution is not required by Pixabay, but the source URLs and license notes are documented in MAINTAINING.md.
The chime sound is generated locally at runtime from simple waveforms and does not use a
bundled audio asset.
You can still pass a local audio file path if you want your own sound. Make sure you have the right to use that file in your environment or project.
Development
uv sync
uv run ruff check .
uv run ruff format --check .
uv run pytest
uv build
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
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 dunzo-0.2.1.tar.gz.
File metadata
- Download URL: dunzo-0.2.1.tar.gz
- Upload date:
- Size: 174.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ea8ed36bdad7b4a376a894abb87d0e00b38831d434603896cffb8375e652549
|
|
| MD5 |
9e08b0148fb3eb737e6a2ca2ee03ce2e
|
|
| BLAKE2b-256 |
4083bb073df01742142e2a19ad44299adf2bc05d7aa4676003d8aa0dbc47aad4
|
File details
Details for the file dunzo-0.2.1-py3-none-any.whl.
File metadata
- Download URL: dunzo-0.2.1-py3-none-any.whl
- Upload date:
- Size: 171.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7cf8d01526fbef26e6183484445618f6f0a0230dd6fde61e2e3f2f5cf191940
|
|
| MD5 |
ad029932fd5d9390e96c9b680d96e1f4
|
|
| BLAKE2b-256 |
63a0f679529aea238a1161425e2a4d590a8e7c36e992f95666b94b274e0ff83e
|