Skip to main content

Human-friendly Pedantic `timedelta`

Project description

Build Status Coverage Status Documentation Status GitHub Release Status PyPI Release Status PyPI Supported Python Versions License Status

A Python timedelta wrapper which provides pedantic string formatting.

Install with pip:

pip3 install human-friendly_pedantic-timedelta

For more options, read the installation guide.

Simple example:

$ python3
>>> from pedantic_timedelta import PedanticTimedelta
>>> PedanticTimedelta(days=0.33).time_format_scaled()
# OUTPUT
# ('7.92 hours', 3600.0, 'hour')

"Penrose Hourglass"

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

Built Distribution

File details

Details for the file human_friendly_pedantic_timedelta-2.0.14.tar.gz.

File metadata

File hashes

Hashes for human_friendly_pedantic_timedelta-2.0.14.tar.gz
Algorithm Hash digest
SHA256 11f88881f9b7497152681d0e01dfd8ed96a7905c8221e81a3166111b8b99df62
MD5 eb2d05a7ed04e9844c32618c68ac2d2b
BLAKE2b-256 1860b6ea2236eef52327d47af0470a83517630ef97b41972c1b5639eb3ddd383

See more details on using hashes here.

File details

Details for the file human_friendly_pedantic_timedelta-2.0.14-py3-none-any.whl.

File metadata

File hashes

Hashes for human_friendly_pedantic_timedelta-2.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 5119aef4775c6b57995feaf37d326e262ae767171afd2f4e29d38b2abe369c0f
MD5 a30018e8446da41e6670505e88eca572
BLAKE2b-256 01c2231a5ce70cd98f6357ac45d6c6c12d282578ee8da07a9e8f5a30c4ee1d89

See more details on using hashes here.

Supported by

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