- update to 4.8.0:
* Add Hungarian localization
* Revise Turkish localization
* Translate "thousand" to "千" for zh_CN
* Move logic to convert aware datetime to naive into function
* Docs: fix formatting of return value
* Declare support for Python 3.12
* Add Esperanto localization
* Support timezone-aware datetimes in naturaltime
* Update Bengali translation
* Drop support for EOL Python 3.7
* Add missing keys to extract translatable strings
* Add default Italian thousand and decimal separator
* Add Italian translation for "thousand" and fix singulars
* Add Italian translation for "%s and %s"
* Add Basque translation
* Add latest metric prefixes: ronna, ronto, quetta, quecto
* Add pt_BR separators
* Replace setup.cfg with pyproject.toml
* Filesize simplification
* Fix intword for 1,000 decillion
* Add localisation for thousand, fixing German plurals
* Handle NaN
- Switch to %pytest macro.
- Update to 2.2.0:
- use %find_lang macro
OBS-URL: https://build.opensuse.org/request/show/1110845
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-humanize?expand=0&rev=9
* Add Hungarian localization
* Revise Turkish localization
* Translate "thousand" to "千" for zh_CN
* Move logic to convert aware datetime to naive into function
* Docs: fix formatting of return value
* Declare support for Python 3.12
* Add Esperanto localization
* Support timezone-aware datetimes in naturaltime
* Update Bengali translation
* Drop support for EOL Python 3.7
* Add missing keys to extract translatable strings
* Add default Italian thousand and decimal separator
* Add Italian translation for "thousand" and fix singulars
* Add Italian translation for "%s and %s"
* Add Basque translation
* Add latest metric prefixes: ronna, ronto, quetta, quecto
* Add pt_BR separators
* Replace setup.cfg with pyproject.toml
* Filesize simplification
* Fix intword for 1,000 decillion
* Add localisation for thousand, fixing German plurals
* Handle NaN
- Switch to %pytest macro.
- Update to 2.2.0:
- use %find_lang macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-humanize?expand=0&rev=25
- update to 4.4.0:
* Add installation instructions (#56) @hugovk
* Internationalise the decimal separator in intcomma() (#53) @Luflosi
* Internationalise intcomma for de_DE locale (#49) @Luflosi
* Replace short scale with long scale for Polish numbers (#54) @mjmikulski
* Fix intcomma() failing with a string as input when ndigits is not None
(#52) @Luflosi
* Fix some pylint findings (#42) @hugovk
* Fix "ValueError: math domain error" for metric(0) (#47) @liukun
* Add Greek translation (#46) @waseigo
* Polish: Added thousand, fixed big numbers (#43) @dejurin
* Fix intword for negative numbers (#41) @vishket
* Update annotations, docs, and tests: naturaltime can also accept a
timedelta (#31) @nuztalgia
* Update annotations: naturadelta and naturaltime can also accept a float
(#29) @hugovk
* Rename Arabic locale from ar_SA to ar to enable fallbacks (#27) @hugovk
* Use %d for year translations, convert to string for intcomma after (#23)
@carterbox
* Fix intcomma with ndigits=0 (#26) @hugovk
* Add humanize.metric() for converting big/small numbers to SI units (#22)
* Add type hints (#15) @hugovk
* Fix scientific() on small positive numbers (#22) @bwoodsend
* Remove redundant wheel dependency from pyproject.toml (#16) @mgorny
* Support Python 3.11 (#13) @hugovk
* Add Arabic language (jmoiron/humanize#256) @AYMENJD
* Docs: add dark mode toggle and default to system preference
(jmoiron/humanize#255) @hugovk
* Documentation improvements (jmoiron/humanize#254) @mondeja
* Update repo links (#2) @hugovk
OBS-URL: https://build.opensuse.org/request/show/1055993
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-humanize?expand=0&rev=8
* Add installation instructions (#56) @hugovk
* Internationalise the decimal separator in intcomma() (#53) @Luflosi
* Internationalise intcomma for de_DE locale (#49) @Luflosi
* Replace short scale with long scale for Polish numbers (#54) @mjmikulski
* Fix intcomma() failing with a string as input when ndigits is not None
(#52) @Luflosi
* Fix some pylint findings (#42) @hugovk
* Fix "ValueError: math domain error" for metric(0) (#47) @liukun
* Add Greek translation (#46) @waseigo
* Polish: Added thousand, fixed big numbers (#43) @dejurin
* Fix intword for negative numbers (#41) @vishket
* Update annotations, docs, and tests: naturaltime can also accept a
timedelta (#31) @nuztalgia
* Update annotations: naturadelta and naturaltime can also accept a float
(#29) @hugovk
* Rename Arabic locale from ar_SA to ar to enable fallbacks (#27) @hugovk
* Use %d for year translations, convert to string for intcomma after (#23)
@carterbox
* Fix intcomma with ndigits=0 (#26) @hugovk
* Add humanize.metric() for converting big/small numbers to SI units (#22)
* Add type hints (#15) @hugovk
* Fix scientific() on small positive numbers (#22) @bwoodsend
* Remove redundant wheel dependency from pyproject.toml (#16) @mgorny
* Support Python 3.11 (#13) @hugovk
* Add Arabic language (jmoiron/humanize#256) @AYMENJD
* Docs: add dark mode toggle and default to system preference
(jmoiron/humanize#255) @hugovk
* Documentation improvements (jmoiron/humanize#254) @mondeja
* Update repo links (#2) @hugovk
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-humanize?expand=0&rev=23
- Update to 2.2.0:
* Added
+ Disambiguate naturaldate return: only append year if more than
+ ~5 months away (#107) @hugovk
+ Add scientific notation to string support (#110) @Thx3r @hugovk
+ Add micro- and millisecond units to naturaldelta and
+ naturaltime (#104) @hugovk
+ Add ndigits option to intcomma (#123) @hugovk
+ Show more than bytes for negative file sizes (#122) @hugovk
* Fixed
+ Fix: AP style for 0 is 'zero' (#121) @hugovk
* Changed
+ Disambiguate naturaldate return: only append year if more than ~5 months away (#107) @hugovk
+ Convert remaining tests to use pytest.mark.parametrize (#109) @hugovk
+ Refactor some tests to use pytest.mark.parametrize (#108) @hugovk
* Removed
+ Drop support for EOL Python 2 (#102) @hugovk
- Fiddle with BuildRequires, adding new modules that are needed
- Switch to pypi source tarball, required for setuptools_scm
OBS-URL: https://build.opensuse.org/request/show/789933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-humanize?expand=0&rev=4
* Added
+ Disambiguate naturaldate return: only append year if more than
+ ~5 months away (#107) @hugovk
+ Add scientific notation to string support (#110) @Thx3r @hugovk
+ Add micro- and millisecond units to naturaldelta and
+ naturaltime (#104) @hugovk
+ Add ndigits option to intcomma (#123) @hugovk
+ Show more than bytes for negative file sizes (#122) @hugovk
* Fixed
+ Fix: AP style for 0 is 'zero' (#121) @hugovk
* Changed
+ Disambiguate naturaldate return: only append year if more than ~5 months away (#107) @hugovk
+ Convert remaining tests to use pytest.mark.parametrize (#109) @hugovk
+ Refactor some tests to use pytest.mark.parametrize (#108) @hugovk
* Removed
+ Drop support for EOL Python 2 (#102) @hugovk
- Fiddle with BuildRequires, adding new modules that are needed
- Switch to pypi source tarball, required for setuptools_scm
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-humanize?expand=0&rev=12