Human-friendly timedelta formatter
Project description
A Python timedelta wrapper.
Install with pip:
pip install human-friendly_pedantic-timedelta
FIXME: Show examples with obvious values.
Usage:
$ py >>> from pedantic_timedelta from friendly_delta >>> from pedantic_timedelta from readable_delta >>> friendly_delta.time_format_elapsed(datetime.now() - '1 day')
from pedantic_timedelta from friendly_delta
friendly_delta.time_format_elapsed(datetime.now() - '1 day')
# OUTPUT:
# 1 day
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
Close
Hashes for human-friendly_pedantic-timedelta-0.0.1a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70335dc211dd4d65dd600a4057b4e39cdd9ec62f9bbc48c6c0bcb97faca065f0 |
|
MD5 | 6db1bb12c548fb9b2e3ae293dfa78a5f |
|
BLAKE2b-256 | 8340a493b14be6214a641eec93cdbf8ea66b616d569ef5396bb0b1e298559e02 |
Close
Hashes for human_friendly_pedantic_timedelta-0.0.1a1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c1b1185af1136b384abf4673d47bf66e413cc9d3b0129ff5a1d10ae0440cfac |
|
MD5 | 6b0dc8abbf0a4b1c909e2af5d5cef78a |
|
BLAKE2b-256 | ad75067fd722df5602d5f0262e498ec46a07f670fd062f1e96e0784891de9ebd |