Skip to main content

TUI world clock application

Project description

world-wall-clock

world-wall-clock is a TUI application that provides a multi-timezone graphical clock in a terminal environment.

Screeenshot of world-wall-clock

Installing world-wall-clock

You can install world-wall-clock with the Python packaging tool pip. It is recommended to do so in a virtual environment.

From PyPI

python -m pip install world-wall-clock

From the top level of the source repo

python -m pip install .

Running world-wall-clock

In an environment with world-wall-clock installed, start it from the command line with:

wwclock

or

python -m world_wall_clock

Usage

world-wall-clock is a graphical application. By default it shows a live view of one local clock (the system time) and clocks for several time zones scattered around the world. By navigating using arrow keys and selecting or deselecting items from the sidebar of available timezones using the Enter or Space key, you can customize the list of displayed clocks. This is silently stored in the application configuration directory for the next time you launch world-wall-clock.

Using the "Custom time" radio button, you can switch the application into custom time mode. Edit the custom time to display by navigating to the numerical datetime fields next to the custom time button and typing over their current values (these are edited in "replace" rather than "insert" mode). The reference timezone for the custom time can be changed by navigating up or down from the timezone listed at the end of the custom time fields; the list of timezones you can pick from here is populated from the timezones of your displayed clocks.

Dependencies

world-wall-clock is a Python 3 application that relies on urwid as its terminal widget toolkit, xdg-base-dirs to determine where to keep the application configuration, and tzdata to provide backup timezone information if this is not already present on the system.

Development

world-wall-clock uses Poetry to manage builds and dependencies. The Python code is formatted using Black.

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

world_wall_clock-0.1.1.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

world_wall_clock-0.1.1-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file world_wall_clock-0.1.1.tar.gz.

File metadata

  • Download URL: world_wall_clock-0.1.1.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.12 Linux/6.1.53

File hashes

Hashes for world_wall_clock-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1f8b74302610aecc6126b9aa9c759ccb31c60c8b1cb435a13f7c9f9af93d4c4b
MD5 aa0a0e897cf4edad168b08529ca7073d
BLAKE2b-256 f220ffe6755d3d9fffb0fa10ce7c0018d94358493cf9e63121b85e190369ade7

See more details on using hashes here.

File details

Details for the file world_wall_clock-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: world_wall_clock-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.12 Linux/6.1.53

File hashes

Hashes for world_wall_clock-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d41d7ef7857482876f100c2d49441de943cb2710ca569d7477b0352a83b90183
MD5 97116e6da9bba2e4f6e8e9dc2fdce6eb
BLAKE2b-256 6b71da655d3fc9c9a4fd33d1fefbe4bfc8218d3b760e2d200a7d9ec3d5207816

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