inflection
A port of Ruby on Rails inflector to Python
Decision gist · record as of 2026-08-14
Yes, for stable string transformation tasks. The package is mature, dependency-free, permissively licensed, and has no known vulnerabilities. Its abandonment is not a blocker for a stable utility library, but you should verify that its pluralization rules match your specific English vocabulary needs before relying on it for critical naming logic.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- However, the package is in abandoned maintenance status with no releases since 2020-08-22, though the repository remains active on GitHub.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and places no restrictions on use, modification, or distribution in proprietary or open-source projects.
last release 2020-08-22 (2183 days) · last repo commit 2023-08-13 · 526 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 51,676,158 downloads/mo, #568 on PyPI
Alternatives
Verify before relying
import inflection
inflection.pluralize('person')
inflection.singularize('people')
inflection.underscore('CamelCase')
inflection.camelize('snake_case')- Whether the package handles edge cases and irregular plurals correctly for modern English usage.
- Whether abandonment affects compatibility with current Python versions beyond the stated support range.
What it is and what it does
Inflection is a Python port of Ruby on Rails' inflector library for English string transformations. It provides functions to convert between singular and plural forms of English words, and to transform strings between naming conventions—specifically between CamelCase and underscored (snake_case) formats. The library has no runtime dependencies and installs as a pure Python wheel.
The package is useful for code generation, API design, and any context where you need to programmatically convert between naming conventions or handle English word inflection. It was last released in August 2020 and is no longer actively maintained, though the repository remains archived but accessible.
Use it for
- Convert database column names from snake_case to CamelCase for API responses or ORM mappings.
- Generate Python variable and function names from user-provided strings in configuration or templates.
- Transform class names to plural forms for collection endpoints or table names in database schemas.
- Normalize naming conventions when integrating code from different sources or style guides.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, for stable string transformation tasks.
The package is mature, dependency-free, permissively licensed, and has no known vulnerabilities. Its abandonment is not a blocker for a stable utility library, but you should verify that its pluralization rules match your specific English vocabulary needs before relying on it for critical naming logic.
Install
inflection on PyPI
Before you install
Low install friction with no runtime dependencies. However, the package is in abandoned maintenance status with no releases since 2020-08-22, though the repository remains active on GitHub.
License in practice
MIT license is permissive and places no restrictions on use, modification, or distribution in proprietary or open-source projects.
Quickstart
import inflection
inflection.pluralize('person')
inflection.singularize('people')
inflection.underscore('CamelCase')
inflection.camelize('snake_case')
Verify before relying
- Whether the package handles edge cases and irregular plurals correctly for modern English usage.
- Whether abandonment affects compatibility with current Python versions beyond the stated support range.
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,183 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 51,676,158 / month, #568 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | 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 |
Evidence: inflection-0.5.1-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “camelcase to underscore conversion”
- inflectionInflection singularizes and pluralizes English words, and converts…
- InflectorConverts English and Spanish nouns between singular and plural forms,…
- pocketsPockets provides a collection of utility functions for common Python…
Give your agent the search over MCP, or paste the wish link into any chat.
More Linguistic packages
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
tiktoken is a fast BPE tokenizer that converts text into token sequences compatible with OpenAI models, supporting multiple encoding schemes including o200k_base and model-specific encodings.
Install it if you work with OpenAI APIs or need to understand token boundaries in GPT-family models.
Detects character encoding and language in byte sequences with high accuracy, supporting 99 encodings and returning confidence scores, language tags, and MIME types.
Install it if you need to detect character encoding or language in byte data; the rewrite makes it substantially faster and more accurate than its predecessors.
Converts Unicode text to ASCII by transliterating non-ASCII characters into their closest ASCII equivalents, with no runtime dependencies.
However, if transliteration quality or ongoing maintenance matters, consider unidecode instead despite its GPL-only license.
Lark is a parsing library that builds abstract syntax trees from context-free grammars, supporting multiple parsing algorithms (Earley, LALR(1), CYK) with automatic line and column tracking.
Python bindings to the tree-sitter parsing library, enabling incremental parsing and syntax tree analysis for source code.
See also Inflector · pluralizer · vokativ · jinja2_pluralize · lemminflect · inflect · casefy · boa-str · textcase · case-convert