Skip to main content

Play notification sounds.

Project description

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

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.

Installation

To install, type: pip install beepy.

Arguments

sound argument takes eitheer 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.md 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

beepy-1.0.7.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

beepy-1.0.7-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file beepy-1.0.7.tar.gz.

File metadata

  • Download URL: beepy-1.0.7.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for beepy-1.0.7.tar.gz
Algorithm Hash digest
SHA256 817348ff3cc098aca8d1de7bc15292b762fde20fcc0a020fccea7936940d5b5f
MD5 dceabec0d035ae3c97869ce6c5de8789
BLAKE2b-256 7e9b896d524799ae1147bbd00050948b0cc3b4ca225d70eb034864333824c864

See more details on using hashes here.

File details

Details for the file beepy-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: beepy-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for beepy-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0e6616ad678fcf334e57c00633676ffef0ce1232127855fb2fc62c91e67ddb06
MD5 56897ef47b48a30acd88b754c485df70
BLAKE2b-256 7c488f1c161e55677333ba3d5d5d3100a6b2b6c04cf542354e774766ff799b39

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page