Friendly text to timedelta conversion
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
deltat-0.9.0.post0.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for deltat-0.9.0.post0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9609accb00212561ac59f5d8a22285aac2c11ee3c6016dbb375cda56ca9ca7e0 |
|
MD5 | 60f6410f02e45a138cdefa03e69d278c |
|
BLAKE2b-256 | 53cbde720401a50fa137591b62f29ade4713f1f8ebae622d225560647e45179f |