Skip to main content

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

Release files for case-style-changer 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for case-style-changer 0.1.3
File Size Uploaded
case-style-changer-0.1.3.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for case-style-changer 0.1.3
File Interpreter ABI Platform
case_style_changer-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 12.4 kB

Release files / case-style-changer-0.1.3.tar.gz

Download URL case-style-changer-0.1.3.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4c52156240cef1c68de2bb6b67e1206e30007a4fa618768863a5e0d4241b5a23
BLAKE2b-256 checksum
How to use checksums
b6251aabcfc5d4b50df49a9455f3774fc6eb65aa56585be1d9e4dcfded217a57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-1032-azure

Release files / case_style_changer-0.1.3-py3-none-any.whl

Download URL case_style_changer-0.1.3-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6851dc478cbdb249b3c2539b05a503a455ec6e0960f299e2d029f1d637ed17b0
BLAKE2b-256 checksum
How to use checksums
e5d5e2da9b585c508c61d09429fc9b41ddf846f624ec29a3da7342cd100e8b19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-1032-azure

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page