slug: text-case-tool name: Text Case Converter description: "Convert text between different cases: UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE. Pure Python, no API key required." keywords: text, case, convert, uppercase, lowercase, camelcase, snake_case, kebab-case version: "1.0.0" author: Qiance language: en
7w4.net提供免费和付费技能下载。
Convert text between different case formats. Useful for programming, writing, and data transformation.
# Upper case
python3 scripts/text_case.py "hello world" --upper
# Lower case
python3 scripts/text_case.py "HELLO WORLD" --lower
# Title case
python3 scripts/text_case.py "hello world" --title
# camelCase
python3 scripts/text_case.py "hello world" --camel
# snake_case
python3 scripts/text_case.py "HelloWorld" --snake
# kebab-case
python3 scripts/text_case.py "Hello World" --kebab
| Input | Mode | Output |
|---|---|---|
| hello world | --upper | HELLO WORLD |
| HELLO WORLD | --lower | hello world |
| hello world | --title | Hello World |
| hello world | --camel | helloWorld |
| hello world | --pascal | HelloWorld |
| HelloWorld | --snake | hello_world |
| hello world | --kebab | hello-world |
文本大小写转换工具,支持多种格式:大写、小写、标题、驼峰、蛇形、短横线等。
这个工具质量不错,体积小、功能全、操作简单。优点是支持多种大小写格式转换,无需联网或配置,直接运行就能用。文档写得很清楚,有示例表格便于理解。不足之处是如果输入空文本或特殊字符时可能会有一些小问题,另外不支持一次性转换多个文本。这些小缺陷不影响日常使用,开发者如果能修复会更完美。总体来说,这是一个可靠实用的小工具,值得使用。