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.5.1.zip (12.9 kB view details)

Uploaded Source

urtimer-0.5.1.tar.gz (7.7 kB view details)

Uploaded Source

File details

Details for the file urtimer-0.5.1.zip.

File metadata

  • Download URL: urtimer-0.5.1.zip
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for urtimer-0.5.1.zip
Algorithm Hash digest
SHA256 fdefc258e407958fd37497af19599cb5b6b7e6054785cf4d2bc08e9a6e8999de
MD5 8fc4571498a4a807672a32d9b85d5652
BLAKE2b-256 2c6e4833727bf06315e8bb5796a7f996c59998877ecbdc80949e1f0cf6963d2a

See more details on using hashes here.

File details

Details for the file urtimer-0.5.1.tar.gz.

File metadata

  • Download URL: urtimer-0.5.1.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for urtimer-0.5.1.tar.gz
Algorithm Hash digest
SHA256 ea13b773a7d6bebaae3ffe2fb1bc1f9848d4d47442b71e076b0f9e950a155442
MD5 5142cce0e2aa4a7e07f6084cd869bc72
BLAKE2b-256 05b19ce49ae803a0bb7ca116459f462dc88a2aa930bfe30f158f68474dc2a88d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page