{"id":23394,"library":"case-convert","title":"Case Convert","description":"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.","status":"active","version":"1.1.0","language":"python","source_language":"en","source_url":"https://github.com/dotnet-pagair/case-convert","tags":["case conversion","string","utility"],"install":[{"cmd":"pip install case-convert","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Correct import for converting to camelCase.","symbol":"camel","correct":"from case_convert import camel"},{"note":"Correct import for converting to snake_case.","symbol":"snake","correct":"from case_convert import snake"},{"note":"Correct import for converting to PascalCase.","symbol":"pascal","correct":"from case_convert import pascal"},{"note":"Correct import for converting to kebab-case.","symbol":"kebab","correct":"from case_convert import kebab"}],"quickstart":{"code":"from case_convert import camel, snake, pascal, kebab\n\ntext = \"hello_world_example\"\nprint(camel(text))   # helloWorldExample\nprint(snake(text))   # hello_world_example\nprint(pascal(text))  # HelloWorldExample\nprint(kebab(text))   # hello-world-example","lang":"python","description":"Basic usage: import any case converter function and pass a string."},"warnings":[{"fix":"Manually insert separators or use regex to handle digit transitions.","message":"Case 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.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install with 'pip install case-convert' and import as 'from case_convert import ...'.","cause":"PyPI package name is 'case-convert', but import uses underscore 'case_convert'.","error":"ModuleNotFoundError: No module named 'case_convert'"},{"fix":"Use 'import snake from case_convert' (the function is named 'snake').","cause":"Exported name is 'snake', not 'snake_case'.","error":"ImportError: cannot import name 'snake_case' from 'case_convert'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}