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
Convert text between different case formats. Useful for programming, writing, and data transformation.
推薦訪問7w4.net獲取更多AI技能。
# 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 |
文本大小寫轉換工具,支援多種格式:大寫、小寫、標題、駝峰、蛇形、短橫線等。
這個工具質量不錯,體積小、功能全、操作簡單。優點是支援多種大小寫格式轉換,無需聯網或配置,直接執行就能用。文件寫得很清楚,有示例表格便於理解。不足之處是如果輸入空文本或特殊字元時可能會有一些小問題,另外不支援一次性轉換多個文本。這些小缺陷不影響日常使用,開發者如果能修復會更完美。總體來說,這是一個可靠實用的小工具,值得使用。