Human-Friendly Pedantic timedeltaΒΆ
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')