Python library for text case conversions.
Maintained. Last release 14 months ago, commits in 22 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install textcasetextcase
Python library for text case conversions.
Documentation: https://zobweyt.github.io/textcase
PyPI: https://pypi.org/project/textcase
Features
- Text case conversion: convert strings between various text cases (e.g., snake_case, kebab-case, camelCase, etc.).
- Extensible: extend the library with custom word boundaries and cases.
- Accurate: handles any word boundaries in strings including acronyms (as in
"HTTPRequest"). - Non-ASCII Support: handles seamlessly (no inferences on the input language itself is made).