Skip to content

A simple countdown timer using urwid

License

Notifications You must be signed in to change notification settings

lbarchive/urtimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

urtimer

A simple countdown timer and stopwatch using urwid.

It looks like:

+---------------------------------------------------------+
|                                                         |
|                                                         |
|     ▄▀▀▀▄ ▄▀▀▀▄   ▄▀▀▀▄ █▀▀▀▀   ▄▀▀▀▄ ▄▀▀▀▄   ▄▀▀▀▄     |
|     █   █ █   █ ▀ █   █ █     ▀ █   █ █   █   █   █     |
|     █   █ █   █ ▄ █   █ ▀▀▀▀▄ ▄ █   █ █   █   █   █     |
|     █   █ █   █   █   █     █   █   █ █   █   █   █     |
|      ▀▀▀   ▀▀▀     ▀▀▀  ▀▀▀▀     ▀▀▀   ▀▀▀  ▀  ▀▀▀      |
|                                                         |
|                                                         |
+---------------------------------------------------------+

You can also watch a demonstration clip.

  • Modes
    • Countdown timer
    • Stopwatch (-S or --stopwatch)
  • Support sleep-like suffixes like "d", "h", "m", and "s".
  • Support countdown date (-d or --date) like "noon" or "tomorrow 1 am"
  • Window title updating

You can install urtimer via pip:

pip install urtimer
Z/A:decrease/increase hour
X/S:decrease/increase minute
C/D:decrease/increase second
Space:start/pause timer
Q:quit the program
Left-button:start/pause timer
urwid
the UI library
parsedatetime

only required for -d or --date option.

pip install parsedatetime

Feel free to open an issue in issue tracker for bugs, feature requests, or pull requests.

urtimer is licensed under the MIT License, see COPYING.

About

A simple countdown timer using urwid

Resources

License

Stars

Watchers

Forks

Packages

No packages published