Skip to main content

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.

Resources

Project details


Download files

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

Source Distributions

urtimer-0.6.1.zip (13.3 kB view hashes)

Uploaded Source

urtimer-0.6.1.tar.gz (8.1 kB view hashes)

Uploaded Source

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