Human-friendly Pedantic `timedelta`
Project description
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')
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
Built Distribution
File details
Details for the file human_friendly_pedantic_timedelta-2.0.14.tar.gz
.
File metadata
- Download URL: human_friendly_pedantic_timedelta-2.0.14.tar.gz
- Upload date:
- Size: 30.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11f88881f9b7497152681d0e01dfd8ed96a7905c8221e81a3166111b8b99df62 |
|
MD5 | eb2d05a7ed04e9844c32618c68ac2d2b |
|
BLAKE2b-256 | 1860b6ea2236eef52327d47af0470a83517630ef97b41972c1b5639eb3ddd383 |
File details
Details for the file human_friendly_pedantic_timedelta-2.0.14-py3-none-any.whl
.
File metadata
- Download URL: human_friendly_pedantic_timedelta-2.0.14-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5119aef4775c6b57995feaf37d326e262ae767171afd2f4e29d38b2abe369c0f |
|
MD5 | a30018e8446da41e6670505e88eca572 |
|
BLAKE2b-256 | 01c2231a5ce70cd98f6357ac45d6c6c12d282578ee8da07a9e8f5a30c4ee1d89 |