Skip to main content

Human-friendly Pedantic `timedelta`

Project description

Build Status Coverage Status Documentation Status GitHub Release Status PyPI Release Status 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

human-friendly_pedantic-timedelta-0.0.6.tar.gz (61.5 kB view hashes)

Uploaded Source

Built Distribution

human_friendly_pedantic_timedelta-0.0.6-py2.py3-none-any.whl (18.6 kB view hashes)

Uploaded Python 2 Python 3

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