Skip to main content

What

A simple digital clock for the terminal

Run

python pyclock.py

Controls

Keys

Actions

q or Q or Esc

quit

s or S

toggle seconds

p or P

toggle punctuation

c or C

toggle center display

a or A

toggle auto scale display

0 to 9

change color

< or ,

decrease width

> or .

increase width

[ or {

decrease height

] or }

increase height

- or _

change color down

- or +

change color up

` or ~

random color

Command-line options

Options

Descriptions

-h or --help

show help message

-S or --no-seconds

do not display seconds

-s or --seconds

display seconds

-P or --no-punctuation

do not display punctuation

-p or --punctuation

display punctuation

-C or --no-center

do not center clock display

-c or --center

center clock display

-A or --no-auto-scale

do not auto scale display

-a or --auto-scale

auto scale display

-k COLOR or --color COLOR

color 0-255 (default: 2)

-f FORMAT or --format FORMAT

time format (default: %I%M%S)

-W WIDTH or --width WIDTH

scale width (default: 1)

-H HEIGHT or --height HEIGHT

scale height (default: 1)

Configuration file

Check out example.pyclock.conf for details.

Support

  • [x] Works on Linux completely

  • [x] Works on OSX completely

  • [ ] Windows not supported

Metadata

Release files for PyClock 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyClock 1.0.0
File Size Uploaded
PyClock-1.0.0.tar.gz 6.0 kB Details

Release files / PyClock-1.0.0.tar.gz

Download URL PyClock-1.0.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
424ba401022e6a3bd81fcbc018f00eaa0652171dac42dd6e2c72c3cdc14ae33e
BLAKE2b-256 checksum
How to use checksums
c7a795446ba526e98c30d361704da5f7a698f4f141f4966b43603638859da5fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page