This release is a pre-release and may not be stable for production use.
The TimeDuration module provides a Pure Python interface to the creation, manipulation and comparison of time duration string. E.g. if 3:21:45.3 and 3:22:30.1 represent stopwatch times, I don’t want to represent or store them as datetime objects but I do want to be able to compare them and do simple calculations on such string such as find the average of a tuple of TimeDuration objects.
I’d also like to be able to say something like “3 weeks, 5 days 12 hours and 32 minutes” and be able to convert that to minutes, seconds or hours and be able to convert strings that look like durations of time to a normalized format.
Examples are included.
Metadata
Release files for TimeDuration 0.2a
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 |
|---|---|---|---|---|
| TimeDuration-0.2a.tar.gz | 6.0 kB | Without provenance | Details for TimeDuration-0.2a.tar.gz |
Release files / TimeDuration-0.2a.tar.gz
| Download URL | TimeDuration-0.2a.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f56be921414ae00e3dc33eb09be13759d365f8b2f2241bbf2f25136adeaa383
|
|
BLAKE2b-256 checksum How to use checksums |
4b6af8ab9d2e167c690f9ad3e756aa4afc608488893a7cad7b08fb30aeda744a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for TimeDuration 0.2a
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.