case-converter
A string case conversion package.
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-converteruv
uv add case-converterpoetry
poetry add case-converterInstalling 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
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
boa-strConverts strings to snake_case by normalizing…
permissive · top 5,000 on PyPI
textcaseConverts strings between different text case…
permissive · top 15,000 on PyPI
titlecaseConverts text to title case with intelligent…
permissive · top 15,000 on PyPI
stringcaseConverts strings between different naming…
permissive · top 5,000 on PyPI
case-convertConverts strings between different case formats…
copyleft · top 15,000 on PyPI
casefyCasefy converts strings between different…
permissive · top 5,000 on PyPI
humpsConverts strings to camelCase format, handling…
copyleft · top 15,000 on PyPI
pyhumpsConverts strings and dictionary keys between…
permissive · top 5,000 on PyPI
InflectorConverts English and Spanish nouns between…
permissive · top 15,000 on PyPI
hello-worldA minimal package with no runtime dependencies,…
unclear · top 15,000 on PyPI