skillfed

inflection

A port of Ruby on Rails inflector to Python

inflection Permissive license MIT Abandoned 526 v0.5.1 released

Install

inflection on PyPI

pip

pip install inflection

uv

uv add inflection

poetry

poetry add inflection

Package 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

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

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.
pluralize singularize English wordscamelcase to underscore conversionstring case transformationinflector port pythonword inflection librarynaming convention converter

Similar packages