skillfed

case-converter

A string case conversion package.

case-converter v1.2.0 487.4K downloads/30d#6,385 on PyPI48
Permissive license AGING released

What it is and what it does

case-converter is a lightweight string transformation library that converts text between standard naming conventions. It handles camelCase, snake_case, kebab-case, PascalCase, MACRO_CASE, flatcase, cobolcase, and titlecase conversions. The package intelligently identifies word boundaries using configurable delimiters (default: space, hyphen, underscore) and handles edge cases like consecutive uppercase letters and punctuation.

You use it by importing a conversion function and passing a string, optionally with parameters to control punctuation stripping and custom delimiters. It has no external dependencies and installs as a pure Python wheel, making it suitable for any project needing reliable case normalization—common in API clients, configuration tools, and code generation.

Use it for:

  • Normalize API request/response field names between camelCase (JavaScript) and snake_case (Python) conventions
  • Generate variable or function names programmatically from user input or configuration strings
  • Convert database column names or identifiers between different naming styles for compatibility
  • Build code generators or templating tools that need to output identifiers in target language conventions
  • Standardize configuration keys or environment variable names across systems with different naming rules

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Converts strings between different naming conventions (camelCase, snake_case, kebab-case, PascalCase, MACRO_CASE, and others) with configurable delimiters and punctuation handling.

Yes. The package is stable, dependency-free, and solves a common string-handling task with no security vulnerabilities. Install it if you need case conversion; the only caveat is that updates are infrequent, so verify it handles your specific edge cases before relying on it in production.

Install

case-converter on PyPI

pip

pip install case-converter

uv

uv add case-converter

poetry

poetry add case-converter

Installing case-converter

Before you install

Low install friction with no runtime dependencies. Package is in Production/Stable status but aging—last release was 541 days ago, though the repository remains active and not archived.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute the package freely with minimal restrictions.

Quickstart

pip install case-converter

from caseconverter import camelcase, snakecase

camelcase("Hello, world!")  # output: helloWorld
snakecase("Hello, world!")  # output: hello_world

Verify before relying

  • Whether the package supports modern Python versions (requires_python is unspecified in metadata)
  • Whether updates are planned or the aging status indicates the package is in maintenance-only mode

Package facts

License not declared (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance aging — 541 days since the last release
Last repo commit
First released
Downloads 487,412/month — #6,385 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: case_converter-1.2.0-py3-none-any.whl

Keywords: case, convert, converter, string

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Topic :: Text ProcessingTopic :: Utilities

Tags

string case conversioncamelcase snake_case converternaming convention transformertext case converterconvert between case stylesstring formatting utilitiescase conversion library
string-utilitiestext-processing

More Utilities packages