Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Simple countdown timer and stopwatch using urwid

Project description

It looks like:

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

You can also watch a demonstration clip.

Features

  • 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

Installation

You can install urtimer via pip:

pip install urtimer

Controls

Keys

Z/A:decrease/increase hour
X/S:decrease/increase minute
C/D:decrease/increase second
Space:start/pause timer
Q:quit the program

Mouse

Left-button:start/pause timer

Dependencies

urwid
the UI library
parsedatetime

only required for -d or --date option.

pip install parsedatetime

Issues and Contributions

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

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 urtimer, version 0.6.1
Filename, size File type Python version Upload date Hashes
Filename, size urtimer-0.6.1.tar.gz (8.1 kB) File type Source Python version None Upload date Hashes View hashes
Filename, size urtimer-0.6.1.zip (13.3 kB) 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