Skip to main content
Pre-release

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.

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)

Source distribution for TimeDuration 0.2a
File Size Uploaded
TimeDuration-0.2a.tar.gz 6.0 kB Details

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

Release history Release notifications | RSS feed

This release

0.2a This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page