Skip to main content

Pure Python module that handles stopwatch time rather than wallclock time

Project description

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.

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

TimeDuration-0.2a.tar.gz (6.0 kB view details)

Uploaded Source

File details

Details for the file TimeDuration-0.2a.tar.gz.

File metadata

  • Download URL: TimeDuration-0.2a.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for TimeDuration-0.2a.tar.gz
Algorithm Hash digest
SHA256 7f56be921414ae00e3dc33eb09be13759d365f8b2f2241bbf2f25136adeaa383
MD5 ddf73d42edc6a7efae97e1e5b81dada4
BLAKE2b-256 4b6af8ab9d2e167c690f9ad3e756aa4afc608488893a7cad7b08fb30aeda744a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page