# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-humanize VERSION= 4.15.0 KEYWORDS= python VARIANTS= v13 v14 SDESC[v13]= Python humanize utilities (3.13) SDESC[v14]= Python humanize utilities (3.14) HOMEPAGE= https://github.com/python-humanize/humanize CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPIWHL/c5/7b/bca5613a0c3b542420cf92bd5e5fb8ebd5435ce1011a091f66bb7693285e DISTFILE[1]= humanize-4.15.0-py3-none-any.whl:main DIST_SUBDIR= python-src DF_INDEX= 1 SPKGS[v13]= single SPKGS[v14]= single OPTIONS_AVAILABLE= PY313 PY314 OPTIONS_STANDARD= none VOPTS[v13]= PY313=ON PY314=OFF VOPTS[v14]= PY313=OFF PY314=ON DISTNAME= humanize-4.15.0.dist-info GENERATED= yes [PY313].USES_ON= python:v13,wheel [PY314].USES_ON= python:v14,wheel [FILE:1546:descriptions/desc.single] # humanize [PyPI version] [Supported Python versions] [Documentation Status] [PyPI downloads] [GitHub Actions status] [codecov] [MIT License] [Tidelift] This modest package contains various common humanization utilities, like turning a number into a fuzzy human-readable duration ("3 minutes ago") or into a human-readable size or throughput. It is localized to: - Arabic - Basque - Bengali - Brazilian Portuguese - Catalan - Danish - Dutch - Esperanto - European Portuguese - Finnish - French - German - Greek - Hebrew - Indonesian - Italian - Japanese - Klingon - Korean - Norwegian - Persian - Polish - Russian - Simplified Chinese - Slovak - Slovenian - Spanish - Swedish - Turkish - Ukrainian - Uzbek - Vietnamese ## API reference [https://humanize.readthedocs.io] ## Installation ### From PyPI ```bash python3 -m pip install --upgrade humanize ``` ### From source ```bash git clone https://github.com/python-humanize/humanize cd humanize python3 -m pip install -e . ``` ## Usage ### Integer humanization ```pycon >>> import humanize >>> humanize.intcomma(12345) '12,345' >>> humanize.intword(123455913) '123.5 million' >>> humanize.intword(12345591313) '12.3 billion' >>> humanize.apnumber(4) 'four' >>> humanize.apnumber(41) '41' ``` ### Date & time humanization ```pycon >>> import humanize >>> import datetime as dt >>> humanize.naturalday(dt.datetime.now()) 'today' >>> humanize.naturaldelta(dt.timedelta(seconds=1001)) '16 minutes' >>> humanize.naturalday(dt.datetime.now() - dt.timedelta(days=1)) [FILE:122:distinfo] b1186eb9f5a9749cd9cb8565aee77919dd7c8d076161cf44d70e59e3301e1769 132203 python-src/humanize-4.15.0-py3-none-any.whl