Skip to main content

Human-friendly Pedantic `timedelta`

Project description

Build Status Coverage Status Documentation Status GitHub Release Status PyPI 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.6.tar.gz (61.5 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.6-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.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

Hashes for human-friendly_pedantic-timedelta-0.0.6.tar.gz
Algorithm Hash digest
SHA256 99c2506c95d88247662033c846b4c184e8f46dab91b35333b89e31adf7bf0f37
MD5 1e0f3776c0a109eb8d27aa0a66152cce
BLAKE2b-256 1d69bfdef2b7c714876c6c36cb01f9a2a9cd24cf4cbe5cf3d01b600c24402ad4

See more details on using hashes here.

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

Hashes for human_friendly_pedantic_timedelta-0.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 46afd6dc5f0105f65e796d974daa50ec117e1d1ef5df7ee117dc86ebd97691ba
MD5 d94ee267150d5a5504b240d97c31b714
BLAKE2b-256 96942266ca115556ea60c79ff0ece1d868f00c83f718640df2101cd416a88399

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