Skip to main content

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 small local sound.

Install

pip install dunzo

For local development with UV:

uv sync
uv run pytest
uv run dunzo --list-sounds

Use In Python

from dunzo import done, dunzo

done()
dunzo()
done("success")
done("positive")
done("trumpet")
done("chime")
done("/path/to/your/sound.mp3")

In Jupyter and Colab notebooks, use the Python API from a cell:

from dunzo import done

done()

Dunzo will display an autoplaying notebook audio element when IPython's display API is available. Shell commands like !dunzo still run in the notebook runtime's operating system and usually cannot play through your browser speakers.

Use From The Command Line

dunzo
dunzo success
dunzo positive
dunzo trumpet
dunzo chime
dunzo /path/to/your/sound.mp3

# Backward-compatible command name:
done
done trumpet

Built-in sounds:

dunzo --list-sounds

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

This project uses standard pyproject.toml metadata and UV for development workflows. Release uploads should be done deliberately from a clean worktree after reviewing the generated files in dist/.

Maintainer notes, private wheel testing steps, and release checks live in MAINTAINING.md.

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

dunzo-0.2.0.tar.gz (174.9 kB view details)

Uploaded Source

Built Distribution

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

dunzo-0.2.0-py3-none-any.whl (171.8 kB view details)

Uploaded Python 3

File details

Details for the file dunzo-0.2.0.tar.gz.

File metadata

  • Download URL: dunzo-0.2.0.tar.gz
  • Upload date:
  • Size: 174.9 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

Hashes for dunzo-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fd0666b60598c82d15509f3775e6cf527626c8ea0796bc1674fa60c2b77a2bfc
MD5 dab304c1cb5950d18ffdb4365728ed73
BLAKE2b-256 69b020d22e55a2ad3952ca67e85ca57b8d0ea87ecce0f2d408e474aa4044ca24

See more details on using hashes here.

File details

Details for the file dunzo-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: dunzo-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 171.8 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

Hashes for dunzo-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 273e4ac82bf4d5acd0f1fba8d4f11925f8a86066dba5f47ef37df8d00a6d04f2
MD5 c60367467838b43cc85b2007c1a84c44
BLAKE2b-256 1eb6fe22a813a1028c57bd67ce5104b76a86d4e5cc10b48216b35b5695335472

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