Skip to main content

DeltaT — A simple time duration parser

Parse a time string e.g. '2h 13m' or '1.5d' into a timedelta object.

This is especially useful for command-line or configuration file parsing.

Based on Peter's answer at https://stackoverflow.com/a/51916936/2445204 and virhilo's answer at https://stackoverflow.com/a/4628148/851699

According to Peter, "any license is fine", Marcel concurs. For the sake of specificity, stating MIT license here, which should be compatible with most licenses.

Metadata

Release files for deltat 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deltat 1.1.2
File Size Uploaded
deltat-1.1.2.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for deltat 1.1.2
File Interpreter ABI Platform
deltat-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.3 kB

Release files / deltat-1.1.2.tar.gz

Download URL deltat-1.1.2.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
80fbc98da656609a12f4592079fa5c4fbb8c7ed376494db312411d9f664f5c9c
BLAKE2b-256 checksum
How to use checksums
0b2b3f485b615574e61a5b6c4f940114caedcf18db9d4f194a74391cf004124b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

Release files / deltat-1.1.2-py3-none-any.whl

Download URL deltat-1.1.2-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fbf6759a6a174189dfdafed9fe4d2ecab129d2919beeba41e636400d64245ab9
BLAKE2b-256 checksum
How to use checksums
c27325901fcfa0517c022c3963a80c9d54368d403ee59f9ffc8738ff02dbd162
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

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