./textproc/py-humanize, Convert numbers into easily readable format

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.15.0, Package name: py313-humanize-4.15.0, Maintainer: pkgsrc-users

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 Russian, French, and Korean.


Required to run:
[lang/python310]

Master sites:

Filesize: 81.64 KB

Version history: (Expand)


CVS history: (Expand)


   2025-12-22 15:18:57 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-humanize: updated to 4.15.0

4.15.0

Added

Add locale support for decimal separator in intword
Add support for Python 3.15

Changed

Replace pre-commit with prek

Fixed

naturaldelta: round the value to nearest unit that makes sense
Fix plural form for intword and improve performance
Replace Exception with more specific FileNotFoundError
   2025-10-20 09:55:53 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-humanize: updated to 4.14.0

4.14.0

Added

Add Uzbek language

Changed

Drop support for Python 3.9
   2025-09-01 14:59:11 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-humanize: updated to 4.13.0

4.13.0

Changed

Optimise naturalsize algorithm by using math.log

Fixed

Fix precisedelta rounding
   2025-05-06 14:45:50 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-humanize: updated to 4.12.3

4.12.3

Fixed

Fix regression in naturalsize for float and str
Improvements for French translation
   2025-04-12 21:05:38 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-humanize: updated to 4.12.2

4.12.2
Update license file reference from LICENSE to LICENCE in pyproject.toml
Update docstring in naturaldelta
Ignore sys.monitoring warning for Python 3.11 and earlier in coverage.py config
   2025-02-24 18:24:52 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-humanize: updated to 4.12.1

4.12.1

Fixed

Fix regression in naturalsize for float
   2025-02-15 22:04:18 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-humanize: updated to 4.12.0

4.12.0

Added

Add support for Python 3.14 and test PyPy3.11
Handle en_GB and en_US locale
Release to PyPI using Trusted Publishing

Changed

Defer imports for faster overall import time: 19 ms -> 3 ms
Replace deprecated classifier with licence expression (PEP 639)
Lint and test with tox-uv

Fixed

Fix overflow issue in naturalsize with np.int32 input
Fix pt_BR locale
Generate translation binaries during release
   2024-10-15 07:54:05 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-humanize: updated to 4.11.0

4.11.0

Added

Add natural_list
filesize: support the ronna and quetta prefixes
Update French translations for numbers

Changed

Drop support for Python 3.8
Defer fractions.Fraction import to save 5ms
Speedup x 1.85: Generate __version__ at build to avoid slow importlib.metadata import

Fixed

Fix finding location of translations
Fix rollover from ZB to 1.0 YB
Fix zh_CN/zh_HK translation for "1 year, %d days"