Skip to content

uaikhuel/timers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

timers

A collection of countdown timers, written in Python

clitimer.py - A command line countdown timer

clitimer.py takes a single argument - the start time to count down from - shows a countdown and rings the system bell when finished. Usage below:

python clitimer.py 60
# or
python clitimer.py 1:00

Requirements

As the script uses the \a notation to ring the system bell, this script won't work on the windows command line.

browsertimer.py - Using bokeh to produce a countdown timer

browsertimer.py uses JavaScript callbacks with bokeh.plotting to create an HTML timer that counts down from a user-defined time to zero.

python browsertimer.py

When the timer launches in the browser, you can use the sliders to adjust the limit on the timer, and the buttons to start, stop/pause, and reset the timer.

Requirements

Acknowledgements

  • Thanks to my colleagues Grischa Toedt & Holger Dinkel for advice on how to remove global statements and dependency on the bokeh server.

About

A collection of countdown timers in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%