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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b335ce24f5bda4e533dc5843839c2c1e9ba5b47665415f1565e53633d213bbe5
|
|
| MD5 |
4e75ef8cce3ba6d96e1b7c1b1fa0da91
|
|
| BLAKE2b-256 |
4d56324735b3c522e7228319ad99141a2c4dd8640cf92ceb9462d322236d70be
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7b31a81409064fa3bdc2f1641b27e709820bea8ad5267f0ecfb595ab71c0c13
|
|
| MD5 |
6be05161d4de9f01ef164607114522ca
|
|
| BLAKE2b-256 |
4b133af7591afffaefdfd326300ad92a03be2bee737afd34d4c78583d50d5b04
|