Skip to main content

A verbose Clock

Project description

Py-Clock

Pipeline latest tag

A verbose clock which prints the time in words in a matrix

Usage: py-clock [OPTIONS]

Options:
    -s, --show    Show the current time
    -m, --matrix  Show time as matrix
    -d, --debug   Run in debug mode
    -h, --help    Show this message and exit.

py-clock can print the current time in words format.

For example: if the time is 13:50, it prints

I T L I S A S T H T E N
A C F I F T E E N D C O
T W E N T Y X F I V E W
T H I R T Y F T E N O S
M I N U T E S E T O U R
P A S T O R U F O U R T
S E V E N X T W E L V E
N I N E D I V E C T W O
E I G H T F E L E V E N
S I X T H R E E O N E G
T E N S E Z O' C L O C K

Setup Env

Make sure you have Python and the poetry package install. From inside the project directory

  • poetry shell ( this will create a new virtual env and activate it)
  • poetry install ( this will install dependencies)

Install from PyPI

  • pip install py-text-clock

Use the tool

After activating the virtual env,

(venv) C:\Users\manoj\Documents\MANOJ\Github\py-clock>py-clock -s -m

I T L I S A S T H T E N
A C F I F T E E N D C O
T W E N T Y X F I V E W
T H I R T Y F T E N O S
M I N U T E S E T O U R
P A S T O R U F O U R T
S E V E N X T W E L V E
N I N E D I V E C T W O
E I G H T F E L E V E N
S I X T H R E E O N E G
T E N S E Z O' C L O C K

Release method

  1. git tag <x.x.x>
  2. git push origin <x.x.x>

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

py_text_clock-0.3.6.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.

py_text_clock-0.3.6-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file py_text_clock-0.3.6.tar.gz.

File metadata

  • Download URL: py_text_clock-0.3.6.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for py_text_clock-0.3.6.tar.gz
Algorithm Hash digest
SHA256 ec50abef3e108735459c7d23755137c1ee297f03c361a7f6e948637c3112b9e9
MD5 564b56a63e4fe979c91971407edc8185
BLAKE2b-256 874873f2cb6fbf1b5721f602bef83f21a7c8dcf311e5def38d4aadfea4020e95

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_text_clock-0.3.6.tar.gz:

Publisher: ci.yaml on manojmanivannan/py-clock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_text_clock-0.3.6-py3-none-any.whl.

File metadata

  • Download URL: py_text_clock-0.3.6-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for py_text_clock-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ba32db39c57baea62fe9cae306ce10afdc07c89b7c0a8f8b2fef552433f744a5
MD5 4c37312718247c86042f2ce7797553fb
BLAKE2b-256 31c89d008bf4ccb71a7b8e93a64cc20b8db26b70adbebe40353471f7e285ccfb

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_text_clock-0.3.6-py3-none-any.whl:

Publisher: ci.yaml on manojmanivannan/py-clock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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