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

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


Branch: CURRENT, Version: 2.2.0, Package name: py37-humanize-2.2.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:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers] [devel/py-setuptools_scm]

Master sites:

SHA1: 8b9a31554e76451b80c8fbeabbb42c125faf7bb1
RMD160: dfb229618dab5f240eb8499fe3d7bb7f97d35e28
Filesize: 41.773 KB

Version history: (Expand)


CVS history: (Expand)


   2020-03-24 08:00:22 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-humanize: updated to 2.2.0

2.2.0:
Add Ukrainian
Update translations
   2020-03-22 18:56:22 by Tobias Nygren | Files touched by this commit (1)
Log message:
py-humanize: needs py-setuptools_scm
   2020-03-21 12:23:57 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-humanize: updated to 2.1.0

2.1.0:
Added
Add ndigits option to intcomma
Show more than bytes for negative file sizes

2.0.0:
Note: Humanize 1.1.0 was meant to be tagged 2.0.0 because it drops support for \ 
Python 2, so is also released as 2.0.0. If you still support Python 2, use \ 
Humanize 1.0.0.

Added
Disambiguate naturaldate return: only append year if more than ~5 months away
Add scientific notation to string support
Add micro- and millisecond units to naturaldelta and naturaltime

Changed
Disambiguate naturaldate return: only append year if more than ~5 months away
Convert remaining tests to use pytest.mark.parametrize
Refactor some tests to use pytest.mark.parametrize

Removed
Drop support for EOL Python 2

Fixed
Fix intword returning 1000.0 million instead of 1.0 billion
   2017-09-04 20:08:31 by Thomas Klausner | Files touched by this commit (163)
Log message:
Follow some redirects.
   2017-04-04 13:34:05 by Thomas Klausner | Files touched by this commit (4)
Log message:
Import py-humanize-0.5.1 as textproc/py-humanize.

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.