Inflect

Latest version: v7.5.0

Safety actively analyzes 714772 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 9

6.0.4

======

* Internal cleanup.

6.0.3

======

* 136: A/an support now more correctly honors leading
capitalized words and abbreviations.

* 178: Improve support for ordinals for floats.

6.0.2

======

* 169: Require pydantic 1.9.1 to avoid ``ValueError``.

6.0.1

======

* Minor tweaks and packaging refresh.

6.0.0

======

* 157: ``compare`` methods now validate their inputs
and will raise a more meaningful exception if an
empty string or None is passed. This expectation is now
documented.

* Many public methods now perform validation on arguments.
An empty string is no longer allowed for words or text.
Callers are expected to pass non-empty text or trap
the validation errors that are raised. The exceptions
raised are ``pydantic.error_wrappers.ValidationError``,
which are currently a subclass of ``ValueError``, but since
that
`may change <https://pydantic-docs.helpmanual.io/usage/validation_decorator/#validation-exception>`_,
tests check for a generic ``Exception``.

5.6.2

======

* 15: Fixes to plural edge case handling.

Page 3 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.