Skip to main content

Create a system tray icon that counts down

Project description

countdown-tray

Download from pyPI: pip install countdown-tray

Create a system tray icon that counts down to a specified date and time, optionally repeating.

countdown-tray

In this example, it is counting down hours to 7pm. The unit will change depending on the time remaining.

  • > 1 day: days
  • > 10 hour: hours rounded to whole hours
  • < 100 minutes IF timer started with less than 100 minutes remaining: minutes
  • > 1 hour: hours rounded to 0.1 hour
  • < 1 hour: minutes
usage: countdown_tray.py [-h] ending_time [ending_date] [repeat_cron]

Create a system tray icon that counts down.

positional arguments:
  ending_time  Ending time in 'H:M(am/pm)' format, 'now', or '(?h)(?m)' from now. Parentheses denote optional.
  ending_date  Ending time in 'M-D-YYYY' format or 'today'. Defaults to 'today'. Ignored if using `?h?m` ending time.
  repeat_cron  Optional cron repeat pattern (e.g., '*/5 * * * *').

options:
  -h, --help   show this help message and exit

Project details


Download files

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

Source Distribution

countdown_tray-2.0.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

countdown_tray-2.0.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file countdown_tray-2.0.1.tar.gz.

File metadata

  • Download URL: countdown_tray-2.0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.1 CPython/3.12.4 Windows/11

File hashes

Hashes for countdown_tray-2.0.1.tar.gz
Algorithm Hash digest
SHA256 bfba99e97ed95f3c766ddf84fbd0a37f6a850818ca8b63184a98120932356f39
MD5 c65245a56c6203461d385023f7cfbef9
BLAKE2b-256 fadd0605293b5462a8ca9bcf50b1743d680d7e1421fdca18e99230cde7474350

See more details on using hashes here.

File details

Details for the file countdown_tray-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: countdown_tray-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.1 CPython/3.12.4 Windows/11

File hashes

Hashes for countdown_tray-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6df7f3784e9a901f2f15a24dfd4e9b18489d7078e26789a3673b72bbca6d7fab
MD5 4ec069925c03a9ffa055a5e8063143e6
BLAKE2b-256 e4719ab5373ccfea080847ebb1ed8ff50e782185c311c821cb3e89330c4944f0

See more details on using hashes here.

Supported by

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