Play notification sounds.
Project description
# beepy Package
beepy is a Python language module that allows users to easily play notification sounds on Linux, OSX and Windows. It only works under Python 3.
It is intended to be used when you are running a long analysis in the background and want to know when it is ready.
## Example Use
`python import beepy beep(sound=1) # integer as argument beep(sound='coin') # string as argument `
## Requirements
Currently, beepy only runs on Python 3.
beepy relies on a Python package called simpleaudio which can be also be installed using: pip install simpleaudio. See requirements of simpleaudio here.
For Windows system, Microsoft Visual C++ 14.0 is required. You can get it with “Microsoft Visual C++ Build Tools” from https://visualstudio.microsoft.com/downloads .
## Installation
To install, type: pip install beepy.
## Arguments
Sound argument takes either integers (1-7) or string (from the list below) as argument.
Following are the mappings for the numbers:
1 : ‘coin’, 2 : ‘robot_error’, 3 : ‘error’, 4 : ‘ping’, 5 : ‘ready’, 6 : ‘success’, 7 : ‘wilhelm’
## Issues
beepy is currently at pre-alpha stage. But reports can be posted on Github at a later date.
## Author
Prabesh Dhakal - Initial Work
## Licence
This project is licensed under the MIT License - see the LICENSE.txt file for details.
## Acknowledgements
beepr: The main motivation behind this package is another R package by the name of beepr. I could not find an equivalent for Python, so decided to make my own version of it. You can learn more about beepr here.
simpleaudio: This package is built on top of another package named simpleaudio, and would not be possible in its absence. While it is largely based on simpleaudio, beepy is not meant to replace the simpleaudio package. My sincere thanks to hamiltron for creating simpleaudio.
Sound Files: All sound files used in this package come from freesound.org and were Creative Commons 0 1.0 Universal (CC0 1.0) licenced at the time of creation of this project.
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
Built Distribution
File details
Details for the file beepy-1.0.9.tar.gz
.
File metadata
- Download URL: beepy-1.0.9.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
05b2d6789abb43930069e1d96a56c9e8b0498378e09784cfe9a1dec02368fcab
|
|
MD5 |
82e3b2b698dc3c7a8e9fb405c0f5de9c
|
|
BLAKE2b-256 |
792047236fc81b180636f5fcdfa025d00ec71fc7c509b6d991f2feef6e19cac3
|
File details
Details for the file beepy-1.0.9-py3-none-any.whl
.
File metadata
- Download URL: beepy-1.0.9-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
22c104db011cf12f3420aaf145fff6e93b2f050c02d2eda83a66448f079d9cf2
|
|
MD5 |
d9ce382752e753fbf95234daa49efe61
|
|
BLAKE2b-256 |
3ae5b0d6f1501cf7c2fd8c9db520e55a3cffa486d5f763d8e40db82daaf77d04
|