inflection
A port of Ruby on Rails inflector to Python
Install
inflection on PyPI
pip
pip install inflectionuv
uv add inflectionpoetry
poetry add inflectionPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.5) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 2,182 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: inflection-0.5.1-py2.py3-none-any.whl
About inflection
from the package's own PyPI description — quoted content, verbatim
Inflection
|build status|_
.. |build status| image:: https://travis-ci.org/jpvanhal/inflection.svg?branch=master :alt: Build Status .. _build status: http://travis-ci.org/jpvanhal/inflection
Inflection is a string transformation library. It singularizes and pluralizes
English words, and transforms strings from CamelCase to underscored string.
Inflection is a port of Ruby on Rails' inflector to Python.
.. _Ruby on Rails: http://rubyonrails.org .. _inflector: http://api.rubyonrails.org/classes/ActiveSupport/Inflector.html
Resources
Documentation <https://inflection.readthedocs.io/>_Issue Tracker <http://github.com/jpvanhal/inflection/issues>_Code <http://github.com/jpvanhal/inflection>_Development Version <http://github.com/jpvanhal/inflection/zipball/master#egg=Inflection-dev>_
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Inflection transforms English words and strings: singularizes and pluralizes words, and converts between CamelCase and underscored naming conventions.
Low install friction with no runtime dependencies. However, the package is abandoned—last release was 2020-08-22, over 2182 days ago, with no recent commits.
Licensed under MIT (permissive), allowing free use, modification, and distribution with minimal restrictions.
Usage
pip install inflection==0.5.1
import inflection
print(inflection.pluralize('word'))
print(inflection.camelize('hello_world'))
Requires Python 3.5 or later.
Verdict: Inflection is a lightweight, dependency-free string transformation library with permissive MIT licensing and no known vulnerabilities. Its abandonment since 2020 and lack of maintenance pose a long-term risk; use only if its specific inflection rules match your needs and you can maintain a fork if required.
Needs verification
- Whether inflection's English pluralization and singularization rules remain accurate for contemporary usage.
- Whether the package's behavior on Python 3.9+ has been validated by users post-2020.
Similar packages
permissive · top 1,000 on PyPI
mistunepermissive · top 1,000 on PyPI
dataclasses-jsonpermissive · top 1,000 on PyPI
aws-sam-translatorpermissive · top 1,000 on PyPI
snowballstemmerpermissive · top 1,000 on PyPI
pandocfilterspermissive · top 1,000 on PyPI
scipypermissive · top 100 on PyPI
daffpermissive · top 1,000 on PyPI
opentelemetry-semantic-conventionspermissive · top 100 on PyPI
StrEnumpermissive · top 1,000 on PyPI