HMT - How Much Time
A simple CLI tool to calculate when you can finish your 8-hour workday.
Installation
pip install hmt
Usage
hmt 8:00 12:00 14:00
This calculates when you can finish work after:
- Working from 8:00 to 12:00 (4 hours)
- Resuming at 14:00 (after lunch break)
- Output:
18:00(4 more hours needed)
How it works
- Takes time entries as arguments in HH:MM format
- Pairs consecutive times as work intervals (start-end, start-end, etc.)
- Calculates total worked hours
- Uses the last time as your resume time
- Calculates when you'll complete 8 hours total
Examples
# Morning work + lunch break
hmt 8:00 12:00 14:00
# Output: 18:00
# Different schedule
hmt 9:00 12:30 13:30
# Output: 18:00
# Multiple breaks
hmt 8:00 10:00 11:00 12:00 13:00
# Output: 18:00
License
MIT
Metadata
Release files for hmt 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hmt-0.1.1.tar.gz | 2.1 kB | Without provenance | Details for hmt-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hmt-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for hmt-0.1.1-py3-none-any.whl |
Total release size: 4.7 kB
Release files / hmt-0.1.1.tar.gz
| Download URL | hmt-0.1.1.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e06aab79bb27fb46d7e1d70723ed0792d57406d34f02e16e9d466be4e223b3f
|
|
BLAKE2b-256 checksum How to use checksums |
848dd4d65302ed217e9e443977b4c9e7a02d7926871be3d2690b99c6a42e717a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.22
|
Release files / hmt-0.1.1-py3-none-any.whl
| Download URL | hmt-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
567ac894057a6fe6d47754aace6fff5e173b97d5b6e40bb48a163bb851f9aa79
|
|
BLAKE2b-256 checksum How to use checksums |
4c34929454847209e20e8f0550121da155a53ed4431104cb6ec8240ed0e1fd3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.22
|
Security for hmt 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.