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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file human-friendly_pedantic-timedelta-0.0.6.tar.gz.
File metadata
- Download URL: human-friendly_pedantic-timedelta-0.0.6.tar.gz
- Upload date:
- Size: 61.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99c2506c95d88247662033c846b4c184e8f46dab91b35333b89e31adf7bf0f37
|
|
| MD5 |
1e0f3776c0a109eb8d27aa0a66152cce
|
|
| BLAKE2b-256 |
1d69bfdef2b7c714876c6c36cb01f9a2a9cd24cf4cbe5cf3d01b600c24402ad4
|
File details
Details for the file human_friendly_pedantic_timedelta-0.0.6-py2.py3-none-any.whl.
File metadata
- Download URL: human_friendly_pedantic_timedelta-0.0.6-py2.py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46afd6dc5f0105f65e796d974daa50ec117e1d1ef5df7ee117dc86ebd97691ba
|
|
| MD5 |
d94ee267150d5a5504b240d97c31b714
|
|
| BLAKE2b-256 |
96942266ca115556ea60c79ff0ece1d868f00c83f718640df2101cd416a88399
|