{"repo":"MaxHalford/chime","free":true,"listed":false,"github":"https://github.com/MaxHalford/chime","clone":"git clone https://github.com/MaxHalford/chime.git","description":"🎵 Python sound notifications made easy","language":"Python","stars":322,"topics":["notifications","wav","sound","streamlit","audio","python","cross-platform","command-line","ipython"],"license":"MIT","category":"cli-tools","readme_excerpt":"chime Python sound notifications made easy. Table of contents - Table of contents - Motivation - Installation - Basic usage - Theming - IPython/Jupyter magic - Exception notifications - Command-line usage - Platform support - Running in the browser - I can't hear anything 🙉 - Setting a default theme - Command-line arguments - Adding a new theme - Things to do - Acknowledgements - License Motivation I made this because I wanted a simple auditory cue system to tell me when a long-running number crunching script had finished. I didn't want to have to fiddle with the command-line, and also wanted a cross-platform solution. Thus was born chime ! Installation This library has no dependencies . The IPython/Jupyter functionality is only imported if you've installed the ipython library. It requires Python 3.11 or above. It also runs in the browser via Pyodide. See the Running in the browser section. Basic usage chime puts four functions at your disposal: Calling any of the above functions will play a sound. Note that the sounds are played in asynchronous processes, and are thus non-blocking. Each function should take around 2ms to execute, regardless of the sound length. You're free to use each sound notification in any way you see fit. I'm not your mama. Theming The sounds that are played depend on which theme is being used. Several themes are available: The theme can be changed by passing a theme name to the theme function: A couple of things to note: - You can listen to the sounds","default_branch":null,"files":null,"tree":[],"storefront":"/r/MaxHalford","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MaxHalford/chime/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}