Skip to main content

A simple package that plays a sound when code finishes running

Project description

finish-sound

Current Release: 0.1.4

finish-sound is a simple, silly Python package that plays a sound when your code finishes executing. Specifically, it will be one of four random voices saying "Your code is finished running!"

Demo

For your convenience, we have provided a Google Colab Notebook with which you can use to follow along: Open In Colab

Installation

You can install the package via pip:

pip install finish-sound

For Colab

Example usage

from finish_sound import play_finish_sound_notebook

...
// some long task (eg. training large diffusion model)

play_finish_sound_notebook()

Local machine

Example usage

from finish_sound import play_finish_sound

...
// some long task (eg. loading llama model checkpoints)

play_finish_sound()

Looking forward

  • Plan to add more voices/sounds
  • Add option to pick specific voice/sound from a set menu by passing in a string argument
  • Tweak the sound: pitch, volume, etc.

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

finish_sound-0.1.7.tar.gz (124.1 kB view details)

Uploaded Source

Built Distribution

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

finish_sound-0.1.7-py3-none-any.whl (122.8 kB view details)

Uploaded Python 3

File details

Details for the file finish_sound-0.1.7.tar.gz.

File metadata

  • Download URL: finish_sound-0.1.7.tar.gz
  • Upload date:
  • Size: 124.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.5

File hashes

Hashes for finish_sound-0.1.7.tar.gz
Algorithm Hash digest
SHA256 6930fc3a83d68c172f36b2f69f8e05b490bdacceef13330ad42b3006c8eb9669
MD5 e6664cd5dccf3deac2101946f6c42c99
BLAKE2b-256 91af56ed070299ba649da2962a7ed39d8907e75bae6496e136e38ab6f1146956

See more details on using hashes here.

File details

Details for the file finish_sound-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: finish_sound-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 122.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.5

File hashes

Hashes for finish_sound-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c6bb5a8759a5e1d269479a6793018a01c2add8eb2649eb3c1c68668ec53f3c5f
MD5 a9ba0b409c657c5cc392ce3858fca45b
BLAKE2b-256 33e823697e4c18ace47a81c466641ed187e6038b68b4a00ca1b58a71c1901a81

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