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.5.tar.gz (123.5 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.5-py3-none-any.whl (122.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: finish_sound-0.1.5.tar.gz
  • Upload date:
  • Size: 123.5 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.5.tar.gz
Algorithm Hash digest
SHA256 89e1c25f2e5719b2fcd43ce0daced7f7285479ad1a089509784f4735c38c95ca
MD5 8cc809aca1e7498cfe383672f92c9434
BLAKE2b-256 eff699d5703533dfe4b811fa191045b2ca0c21f0c02dda4338d5ec5cec19e1f9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: finish_sound-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 122.3 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3f0597ad477d47d5c87eb6010f0981b3950900e77c5ad258096348b48f4846b8
MD5 5a37a8a78c4298a4b43c1c2bdb453aab
BLAKE2b-256 354b3d351635113123a1f26cc80c594517044649f6020619c7c40da9e7754ccf

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