Skip to main content

A terminal-based world clock that displays multiple timezones in real-time.

Project description

worldclock-tty

A terminal-based world clock that displays multiple timezones in real-time.

Installation with uv

uv add worldclock-tty

Installation with pip

pip install worldclock-tty

Usage

Run the clock:

worldclock-tty

Press Ctrl+C to exit.

The display shows your local time at the top, followed by all configured timezones in two columns, updated every second.

Managing timezones

Timezones are stored in ~/.config/chronos/config.json. Use IANA timezone names (e.g. America/Chicago, Europe/Paris).

worldclock-tty add America/Chicago       # add a timezone
worldclock-tty remove America/Chicago    # remove a timezone
worldclock-tty list                      # show configured timezones
worldclock-tty reset                     # restore built-in defaults

Default timezones

America/Buenos_Aires, America/Caracas, America/La_Paz, America/Lima, America/Los_Angeles, America/Montevideo, America/New_York, America/Sao_Paulo, Asia/Bangkok, Asia/Dubai, Asia/Hong_Kong, Asia/Istanbul, Asia/Tokyo, Asia/Vladivostok, Atlantic/Bermuda, Atlantic/Canary, Australia/Sydney, Europe/London, Europe/Madrid, Europe/Moscow, Europe/Rome, Pacific/Honolulu.

Requirements

Python 3.10+

License

MIT

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

worldclock_tty-0.1.2.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

worldclock_tty-0.1.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file worldclock_tty-0.1.2.tar.gz.

File metadata

  • Download URL: worldclock_tty-0.1.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for worldclock_tty-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b1dfd019e64ce792657cc58419efab9aa69d795d1f26557b800711ca38f8b756
MD5 626abcc219bc6436f1665c0cff6618f0
BLAKE2b-256 ba7ccb8a205a3d0324b4ecbd278e27fb0c9df69706a2242185091cc926b415c2

See more details on using hashes here.

File details

Details for the file worldclock_tty-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: worldclock_tty-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for worldclock_tty-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 07b92b904e5b5d3b370d1c342c7eb21b414eb0751face81e7254fbfd8c8f195b
MD5 a52c816270a5c9953271c2a452ad8249
BLAKE2b-256 3d8085a9e60cc61098a820e713e5664def24f8cf268ed500cfdc2fea0897f54b

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