Skip to main content

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


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

human_friendly_pedantic_timedelta-0.0.1a1-py2.py3-none-any.whl (18.9 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