case-convert
Cross library to convert case with permissive input
What it is and what it does
case-convert is a lightweight string case-formatting library that converts text between five case styles: camel, kebab, pascal, snake, and upper. It accepts permissive input, treating punctuation and whitespace as word separators, so inputs like "__hello Great--world" normalize cleanly to the target case without requiring pre-processing.
The package has no runtime dependencies and is available for Python 3. However, it has been abandoned since September 2020 with no maintenance activity, meaning bugs will not be fixed and compatibility with newer Python versions is uncertain. The LGPLv3+ license is copyleft, so using it in proprietary code requires careful licensing review.
Use it for:
- Convert API response field names from snake_case to camelCase for JavaScript interoperability
- Normalize user input or configuration keys to a consistent case format before processing
- Transform database column names to different naming conventions for code generation
- Standardize variable names across polyglot codebases that use different case conventions
- Prepare text for case-sensitive lookups or comparisons by normalizing to a single format
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Converts strings between different case formats (camel, kebab, pascal, snake, upper) with lenient input handling that ignores punctuation and whitespace.
No. The package is abandoned (last release 2020-09-10, no maintenance since) and has high install friction. For a simple, actively maintained case converter, consider alternatives. If you need only basic case conversion, Python's built-in string methods or a maintained third-party package are safer choices.
Install
case-convert on PyPI
pip
pip install case-convertuv
uv add case-convertpoetry
poetry add case-convertInstalling case-convert
Before you install
High install friction due to source distribution only. Package is abandoned—last release was 2020-09-10 with no commits or maintenance activity since.
License in practice
Licensed under LGPLv3+, a copyleft license requiring derivative works to be distributed under the same terms. Acceptable for internal use but restrictive for proprietary distribution.
Quickstart
pip install case-convert
from case_convert import camel_case
result = camel_case("hello world") # helloWorld
Verify before relying
- Whether the package works correctly with modern Python versions (requires_python is unspecified)
- Current state of the GitLab repository and whether it remains accessible
- Whether permissive input handling covers all edge cases mentioned in the description
Package facts
| License | not declared (copyleft) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | abandoned — 2,164 days since the last release |
| First released | |
| Downloads | 104,996/month — #12,727 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: case_convert-1.1.0.tar.gz
Tags
More Text Processing packages
A drop-in replacement for Python's standard…
permissive · top 100 on PyPI
pyparsingpyparsing provides a library for building text…
permissive · top 1,000 on PyPI
docutilsDocutils converts plaintext documentation in…
unclear · top 1,000 on PyPI
RapidFuzzRapidFuzz provides fast fuzzy string matching…
permissive · top 1,000 on PyPI
tinycss2tinycss2 parses CSS strings into token and…
permissive · top 1,000 on PyPI
llama-parseLlamaParse parses complex documents (PDFs,…
permissive · top 1,000 on PyPI
case-conversionConverts strings between any case format…
permissive · top 15,000 on PyPI
pyhumpsConverts strings and dictionary keys between…
permissive · top 5,000 on PyPI
djangorestframework-camel-caseConverts JSON field names between camelCase and…
permissive · top 15,000 on PyPI
camel-converterConverts strings and dictionary keys between…
permissive · top 5,000 on PyPI
humpsConverts strings to camelCase format, handling…
copyleft · top 15,000 on PyPI
stringcaseConverts strings between different naming…
permissive · top 5,000 on PyPI
case-converterConverts strings between different naming…
permissive · top 15,000 on PyPI
pyheckConverts strings between case styles…
permissive · top 15,000 on PyPI
boa-strConverts strings to snake_case by normalizing…
permissive · top 5,000 on PyPI
jinja2-strcaseAdds string-case conversion filters to Jinja2…
permissive · top 15,000 on PyPI