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 details)

Uploaded Source

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

Uploaded Source

File details

Details for the file urtimer-0.6.1.zip.

File metadata

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

File hashes

Hashes for urtimer-0.6.1.zip
Algorithm Hash digest
SHA256 20fc4daa8d070afb0e97bbf81ea978a870c1760b3a70dc72344cf920c40dd762
MD5 ac99f1bd64302fcb62e64b893301f7f0
BLAKE2b-256 b45ebd738d29bb77eeec9a631408c3f8dc767861f32a207d20dc0c3d1e01085a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for urtimer-0.6.1.tar.gz
Algorithm Hash digest
SHA256 087b02c7895ec3e1e0910af13ac9c4d08f941105feb1b3db3442eba447cd4613
MD5 cb656ad12ca7dd0b8c3d7d9680067121
BLAKE2b-256 0de153df1cfa67e722757c2b6a3717e56367026505d988ff9db9d728a2b028aa

See more details on using hashes here.

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