Simple audio alarm for Google Colab notebooks
Project description
Colab Alarm
Colab Alarm is a lightweight audio notification system designed specifically for Google Colab. It helps you stay productive by alerting you when long-running code cells finish execution.
Why Use Colab Alarm?
- Stay Productive: Work on other tabs or tasks while your code runs.
- Audio Alerts: Get an immediate sound notification when your cell completes.
- Easy Integration: Just add a single line of code at the end of any cell.
- Fully Customizable: Adjust duration and frequency to suit your preferences.
Installation, Usage & Customization
# 1. Install the package (run this once)
!pip install colab-alarm
# 2. Import the alarm function
from colab_alarm.alarm import alarm
# 3. Use it at the end of any long-running cell
alarm() # Plays a default beep (1 second at 440 Hz)
# Optional: Customize the sound
# Play a 3-second tone at 440 Hz (standard A4 pitch)
alarm(duration=3, freq=440)
# Play a 0.5-second tone at 1000 Hz (higher pitch, quicker beep)
alarm(duration=0.5, freq=1000)
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
colab_alarm-0.1.3.tar.gz
(3.2 kB
view details)
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 colab_alarm-0.1.3.tar.gz.
File metadata
- Download URL: colab_alarm-0.1.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ac5ffb59050a4d8c5bb2d23d569a35b0d3dc7283c9cccefcf1e25af04da080a
|
|
| MD5 |
24823167acc5c52cbdd903b8c528b163
|
|
| BLAKE2b-256 |
1348a36b9f70ae3209820e975a7a291701331914869311944e4b0c4d101e2902
|
File details
Details for the file colab_alarm-0.1.3-py3-none-any.whl.
File metadata
- Download URL: colab_alarm-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3aef12be09e8a115c405dda5ac43a3c34bf0725ceb6f2c3ffc998a49032f8cb8
|
|
| MD5 |
6747eeccbc8294367ff65a2677c8add0
|
|
| BLAKE2b-256 |
77ee746ade278758b489b77e6c7b6d44e0288191885f212a1385150b6aade13d
|