Skip to main content

Case Style Changer - a CLI tool that guesses the case of the input string and converts it to another case.

Project description

Case Style Changer

PyPi Python Version GitHub Workflow Status codecov Code Climate License

Case Style Changer is a CLI tool that guesses the case of the input string and converts it to another case.

Installation

Install and update using pip:

pip install case-style-changer

For macOS user, you can install and update using brew:

brew tap xkumiyu/homebrew-case-style-changer
brew install case-style-changer

Usage

$ csc [--text TEXT] CASE_NAME

CASE_NAME is the name of the case you want to convert.

Examples

You can use standard input or arguments.

$ echo "case-style-changer" | csc camel
caseStyleChanger
$ csc snake --text "caseStyleChanger"
case_style_changer

Available case style

The available case styles are:

Case Name Case Name Alias Example
camel_case camel, lower_camel_case, lcc caseStyleChanger
pascal_case pascal, pascal_case, upper_camel_case, ucc CaseStyleChanger
snake_case snake, lower_snake_case, lsc case_style_changer
constant_case constant, constant_case, screaming, screaming_snake_case, upper_snake_case, upper_case, usc, ssc CASE_STYLE_CHANGER
kebab_case kebab, kebab_case, chain, chain_case case-style-changer
sentence_case sentence Case style changer
capital_case capital,train, train_case Case Style Changer

Change Log

See Change Log.

Licence

MIT: LICENCE

Project details


Download files

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

Files for case-style-changer, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size case_style_changer-0.1.3-py3-none-any.whl (6.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size case-style-changer-0.1.3.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page