Skip to main content

changed function from main to ding

Project description

DingPy

Author: Tina Bu (http://medium.com/@tinabu/)

DingPy is a Python package that plays an audio alert when your program finishes. It is particularly useful for long running batch jobs or impatient developers.

Test audio downloaded from: http://soundbible.com/2185-Old-School-Bell.html

Contents

  1. Examples
  2. Installation
  3. TODO
  4. Dependencies
  5. Inspirations

Examples

import dingpy

# a long running block
for i in range(100):
	sleep(1)

dingpy.main()

Installation

Tested on Python 3. DingPy can be installed using the following command.

pip install dingpy

TODO

  • package alarm_audio file into package build

Dependencies

DingPy's Python dependencies are listed in the requirements.txt file.

Inspirations

https://github.com/Shahor/dingdingdong

https://github.com/xxv/ding/

History

0.1.0 (2019-06-25)

Audio files packaged.

0.0.14 (2019-06-24)

Hold off Anaconda package development.

0.0.13 (2019-04-16)

Package tested from terminal. Audio file to be packaged in.

0.0.1 (2019-04-13)

First release on PyPI.

Project details


Download files

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

Files for dingpy, version 0.0.15
Filename, size File type Python version Upload date Hashes
Filename, size dingpy-0.0.15-py3-none-any.whl (5.6 MB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size dingpy-0.0.15.tar.gz (5.6 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page