Skip to main content

Human-friendly Pedantic `timedelta`

Project description

Build Status Coverage Status Documentation Status Release Status Release Status License Status

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')

"Penrose Hourglass"

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

human-friendly_pedantic-timedelta-0.0.5.tar.gz (61.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

human_friendly_pedantic_timedelta-0.0.5-py2.py3-none-any.whl (18.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file human-friendly_pedantic-timedelta-0.0.5.tar.gz.

File metadata

  • Download URL: human-friendly_pedantic-timedelta-0.0.5.tar.gz
  • Upload date:
  • Size: 61.3 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

Hashes for human-friendly_pedantic-timedelta-0.0.5.tar.gz
Algorithm Hash digest
SHA256 e01da8ec4f61737b6114758736d705403359f6639df35fa9a03fd96b20c8f126
MD5 64878994e14cc6e4ba74c4419f259681
BLAKE2b-256 12ca01e7b91a5ed833989edc7927cf8f8b3a8269b4472d26e9bf565ddf978772

See more details on using hashes here.

File details

Details for the file human_friendly_pedantic_timedelta-0.0.5-py2.py3-none-any.whl.

File metadata

  • Download URL: human_friendly_pedantic_timedelta-0.0.5-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

Hashes for human_friendly_pedantic_timedelta-0.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f12eef282eae4468fbff63904df69076137fd908b9ae3267c9cf0be905c33e9a
MD5 3166650e30a64f2ac55b506708292652
BLAKE2b-256 1269e715d8803cdf0d332270356d8658b6f7099d761208d1c6b27ecde6da253e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page