Skip to main content

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

Project description

Timetrix

What is timetrix?

Timetrix is a lightweight and intuitive Python library designed to help developers track, measure, and visualize time with ease. Whether you're profiling your code, creating time-based visualizations, or tracking the duration of events, timetrix provides the tools you need with minimal setup.

Installation

    pip install timetrix

Contributing

We welcome contributions! If you'd like to add new features, fix bugs, or improve documentation, please:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Submit a pull request with a detailed description of your changes.

Acknowledgments

Thank you to the open-source community for inspiration and support!

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.10.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.10-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: timetrix-0.0.10.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.10.tar.gz
Algorithm Hash digest
SHA256 a1fb922b6a7d23ef8717b1c8c446dd1261db15515132c2c5c53c93711936f3c5
MD5 21eda1f26f47c33002abf709fe319e3e
BLAKE2b-256 3c984829ee16737698ff978c7a08a154d04913ab02d8938fba91f03e35f423dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: timetrix-0.0.10-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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 1498c96f444fe6dcd36b895ed0f78fc05aa2bf6ca8c9a72117ef2699048bb27a
MD5 c81ae0be2f21eb0b8627d942e5afc1e2
BLAKE2b-256 75a82f06ca9eaab0b75889b389508b9121482691cf557609b679f7604ee10c13

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