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

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


Branch: CURRENT, Version: 4.11.0, Package name: py312-humanize-4.11.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: 78.49 KB

Version history: (Expand)


CVS history: (Expand)


   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
   2023-07-05 22:51:45 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-humanize: update to 4.7.0.

Added

    Declare support for Python 3.12 (#119) @hugovk
    Add Esperanto localization (#113) @carmiac
    Support timezone-aware datetimes in naturaltime (#100) @tandav
    Update Bengali translation (#99) @baseplate-admin

Changed

    Drop support for EOL Python 3.7 (#118) @hugovk

Fixed

    Remove unused MANIFEST.in (#120) @hugovk
   2023-05-05 10:54:00 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-humanize: update to 4.6.0.

No summary of changes found - a year of heavy development,
new upstream site, support for new Python versions.