--- id: inflector version: "3.1.1" license: unclear license_treatment: permissive maintenance: dormant --- # Inflector — Inflector for Python License: permissive · Maintenance: dormant · Downloads: 419.5K/mo ## What it is and what it does Inflector is a string transformation library that converts English and Spanish nouns between singular and plural forms, and applies naming-convention transformations commonly used in Rails-style frameworks. It provides methods to convert between camelCase, underscored_case, and human-readable formats, as well as utilities for generating database table names, class names, and URL-friendly strings. The package is a pure-Python implementation with no external dependencies, making it lightweight and easy to integrate. It's designed for applications that follow convention-over-configuration patterns, where consistent string transformations are needed for code generation or URL routing. The library has been stable since its initial release in 2011, though development has been dormant since early 2024. Use it for: - Generate database table names and class names from model definitions following Rails conventions - Transform API parameter names between camelCase (JavaScript) and snake_case (Python) formats - Create URL-friendly slugs from class or model names by removing accents and converting to underscores - Build form field labels and titles from database column names with proper capitalization - Implement convention-based ORM or framework code generation that requires consistent naming patterns ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Converts English and Spanish nouns between singular and plural forms, and provides string transformations like camelCase, underscoring, and humanization for convention-based code generation. Yes, for stable convention-based string transformations. The package has no dependencies, a permissive license, and zero known vulnerabilities. Its dormant maintenance status is not a blocker for a self-contained utility, but verify Python version compatibility before relying on it in new projects. Best suited for established codebases that already depend on it or for applications where naming conventions are critical and stability matters more than active development. ## Install pip install inflector uv add inflector poetry add inflector ## Installing Inflector Before you install: Low install friction with no runtime dependencies. Dormant maintenance status since early 2024, with the repository archived as of the last commit on 2024-06-10; suitable for stable, self-contained use cases but not actively developed. License in practice: Licensed under the Python Software Foundation License (permissive), allowing broad use, modification, and distribution with minimal restrictions. Quickstart: pip install Inflector from inflector import Inflector inflector = Inflector() print(inflector.pluralize('person')) # 'people' print(inflector.camelize('send_email')) # 'SendEmail' print(inflector.underscore('WelcomePage')) # 'welcome_page' Verify before relying: - Whether Spanish inflection rules are comprehensive or limited to common cases - Current compatibility with modern Python versions (requires_python field is empty) - Whether the package handles irregular plurals beyond documented examples ## Package facts - License: not declared (permissive) - Python support: unspecified - Install friction: low - Maintenance: dormant - Downloads: 419.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags plural singular conversion, inflector english spanish, camelcase underscore conversion, string case transformation, noun pluralization, rails naming conventions, friendly url generation, text normalization, string-transformation, naming-conventions, rails-style [View on SkillFed](https://skillfed.io/packages/inflector) · [View on PyPI](https://pypi.org/project/inflector/)