Skip to main content

Convert strings between camelCase, snake_case, kebab-case, PascalCase, and more

Project description

strcase-cli

Convert strings between naming conventions from the command line.

Install

pip install strcase-cli

Usage

strcase snake "myVariableName"      # my_variable_name
strcase camel "my_variable_name"    # myVariableName
strcase pascal "my-variable-name"   # MyVariableName
strcase kebab "MyVariableName"      # my-variable-name
strcase screaming "myVar"           # MY_VAR
strcase dot "myVar"                 # my.var
strcase title "my_var_name"         # My Var Name
strcase train "myVarName"           # My-Var-Name
strcase cobol "myVarName"           # MY-VAR-NAME
strcase all "myVariableName"        # Show all conversions
strcase detect "my_variable_name"   # snake
strcase types                       # List all styles

All commands support --json for machine-readable output and -f FILE for batch processing.

For AI Agents

See SKILL.md for agent-optimized documentation.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

strcase_cli-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

strcase_cli-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file strcase_cli-0.1.0.tar.gz.

File metadata

  • Download URL: strcase_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for strcase_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 83e029cf9f95ffb7bb3fe1d02b3acd6977b622b4be3e6dc5129ec8b14389b432
MD5 b827a2a7bde7ea8b4b648097b0d6cff0
BLAKE2b-256 6272f25af446e31c64f1cc7af79bc785e49df48ab206ccee429fddefaf8ae743

See more details on using hashes here.

File details

Details for the file strcase_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: strcase_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for strcase_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 12eaaef929ad12877297ab5c6dc773425a3f91cf255dfa12ceeb32ceefe01713
MD5 170338e49276a1ecbf93524c862f0cc7
BLAKE2b-256 5b0f5360229c7aae292cd3c6da28b92552926b2656123c1cbdc2ee22e30692e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page