Skip to main content

Lightweight and intuitive Python library designed to help developers,track, measure, and visualize time with ease.

Project description

TimeMashine

The TimeMachine class provides methods that help in displaying time or time periods in a static format when needed.

  • day(): This method, when called, returns the current day of the month as an integer.

  • month(): This method, when called, returns the current month as an integer.

  • year(): This method, when called, returns the current year as an integer.

  • month_name(): This method, when called, returns the current name of month as string.

  • hour(): This method, when called, returns the current hour as an integer.

  • minutes(): This method, when called, returns the current minutes as an integer.

  • seconds(): This method, when called, returns the current seconds as an integer.

  • clock(): This method retrieves the current time from the stored date and formats it as a string representing the time in hours, minutes, and seconds (HH:MM:SS). The formatted time is then printed on the same line, updating the displayed time without moving to a new line.

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

timetrix-0.0.4.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

timetrix-0.0.4-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file timetrix-0.0.4.tar.gz.

File metadata

  • Download URL: timetrix-0.0.4.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for timetrix-0.0.4.tar.gz
Algorithm Hash digest
SHA256 b335ce24f5bda4e533dc5843839c2c1e9ba5b47665415f1565e53633d213bbe5
MD5 4e75ef8cce3ba6d96e1b7c1b1fa0da91
BLAKE2b-256 4d56324735b3c522e7228319ad99141a2c4dd8640cf92ceb9462d322236d70be

See more details on using hashes here.

File details

Details for the file timetrix-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: timetrix-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for timetrix-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a7b31a81409064fa3bdc2f1641b27e709820bea8ad5267f0ecfb595ab71c0c13
MD5 6be05161d4de9f01ef164607114522ca
BLAKE2b-256 4b133af7591afffaefdfd326300ad92a03be2bee737afd34d4c78583d50d5b04

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