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

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


Branch: CURRENT, Version: 4.12.1, Package name: py312-humanize-4.12.1, 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: 78.933 KB

Version history: (Expand)


CVS history: (Expand)


   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"
   2024-07-21 12:14:46 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-humanize: updated to 4.10.0

4.10.0

Changed

Replace deprecated pydocstyle with Ruff and update to Black 2024 style

Fixed

Remove shebang from filesize.py
Fix test failures on systems with 32-bit time_t
Fix handling of negative time deltas
Fix naturaldelta sub second precision
Reword the French translation of very small amount of time
Fix Arabic localization
metric: Fix precision format
   2023-12-01 20:01:42 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-humanize: updated to 4.9.0

4.9.0

Added

Add support for Python 3.13
Add Norwegian localization
Add Hebrew localization
Add Klingon translation

Changed

Replace Flake8 with Ruff

Fixed

Fix DeprecationWarning: Plural value must be an integer, got float
Remove useless shebangs
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-08-24 22:02:09 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-humanize: update to 4.8.0.

Added

    Add Hungarian localization (#131) @gy-balint
    Revise Turkish localization (#139) @geekdinazor
    Translate "thousand" to "千" for zh_CN (#127) @dofine

Changed

    Update docs link to https://humanize.readthedocs.io (#128) @hugovk

Fixed

    Move logic to convert aware datetime to naive into function (#123) @ErikKalkoken
    Docs: fix formatting of return value (#137) @hugovk
   2023-08-02 01:20:57 by Thomas Klausner | Files touched by this commit (158)
Log message:
*: remove more references to Python 3.7