Registry / serialization / case-convert

case-convert

JSON →
library1.1.0pypypi✓ verified 85d ago

A Python library for converting between string cases (snake_case, camelCase, PascalCase, kebab-case, etc.) with permissive input handling. Current version 1.1.0, no breaking changes reported yet.

pip install case-convert
INSTALL
IMPORT
SIG · CASE-CONVERT
C
case-convert
serializationpythonv1.1.0
Install
2.4s avg
Import
—
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v1.1.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.2MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 2.4s · import 0.000s · 20MB
17MB installed
● package 17MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

camel_case
✓ from case_convert import camel_case
✗ from case_convert import camel
snake_case
✓ from case_convert import snake_case
pascal_case
✓ from case_convert import pascal_case

Basic usage: import any case converter function and pass a string.

from case_convert import camel, snake, pascal, kebab text = "hello_world_example" print(camel(text)) # helloWorldExample print(snake(text)) # hello_world_example print(pascal(text)) # HelloWorldExample print(kebab(text)) # hello-world-example
Debug
Known issues
gotchaCase Convert does not automatically split on digits; e.g., 'abc123def' treated as 'abc123def' (no separation). Use a pre-processing step if digit boundaries are needed.
fix
Manually insert separators or use regex to handle digit transitions.
affects: all
Upgrade
Version history
1.1.0latest on PyPI · released Sep 10, 2020
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
OpenAI (training)
1
Resources
case-convert — pip install case-convert · libregistry