Package: python-camelcaser
Python-CamelCaserPython-CamelCaser is a Python package that provides functionality for finding real-world words in a string and reformatting strings into various standardized notations. It offers different modes to suit your specific formatting needs, including Camel case, Lower camel case, Snake case, Upper snake case, Kebab case, and Upper kebab case.FeaturesWord Detection: The package includes a word detection mechanism that can identify real-world words within a given string.Notation Transformation: Python-CamelCaser allows you to easily transform strings into various standardized notations, such as Camel case, Lower camel case, Snake case, Upper snake case, Kebab case, and Upper kebab case.Flexibility: The package provides different modes to cater to a wide range of formatting requirements, allowing you to choose the notation style that best suits your project or coding style.ModesModeInputOutputcamel_caseverylongtestexampleVeryLongTestExamplelower_camel_caseverylongtestexampleveryLongTestExamplesnake_caseverylongtestexamplevery_long_test_exampleupper_snake_caseverylongtestexampleVery_Long_Test_Examplekebab_caseverylongtestexamplevery-long-test-exampleupper_kebab_caseverylongtestexampleVery-Long-Test-ExampleUsageImportimportcamelcaserasccUsage with real world words without separatorsinput_word="verylongtestexample"# Camel casecamel_case=cc.make_camel_case(input_word)print(f"Camel case:{camel_case}")# Snake casesnake_case=cc.make_snake_case(input_word)print(f"Snake case:{snake_case}")Usage with separatorsinput_word="very_long_test_example"# Camel Casecamel_case=cc.make_camel_case(input_word)# Snake Casesnake_case=cc.make_snake_case(input_word)Usage with custom separator [;]input_word="Very;Long;Test;Example"# Camel Casecamel_case=cc.make_camel_case(input_word,separator=separator)# Snake Casesnake_case=cc.make_snake_case(input_word,separator=separator)ExamplesExamples with real world words without separatorsModeInputOutputcamel_caseverylongtestexampleVeryLongTestExamplelower_camel_caseverylongtestexampleveryLongTestExamplesnake_caseverylongtestexamplevery_long_test_exampleupper_snake_caseverylongtestexampleVery_Long_Test_Examplekebab_caseverylongtestexamplevery-long-test-exampleupper_kebab_caseverylongtestexampleVery-Long-Test-ExampleExamples with separatorsModeInputOutputcamel_casevery_long_test_exampleVeryLongTestExamplelower_camel_casevery_long_test_exampleveryLongTestExamplelower_snake_casevery_long_test_examplevery_long_test_exampleupper_snake_casevery_long_test_exampleVery_Long_Test_Examplekebab_casevery_long_test_examplevery-long-test-exampleupper_kebab_casevery_long_test_exampleVery-Long-Test-Examplecamel_casevery-long-test-exampleVeryLongTestExamplelower_camel_casevery-long-test-exampleveryLongTestExamplelower_snake_casevery-long-test-examplevery_long_test_exampleupper_snake_casevery-long-test-exampleVery_Long_Test_Examplekebab_casevery-long-test-examplevery-long-test-exampleupper_kebab_casevery-long-test-exampleVery-Long-Test-Examplecamel_caseVeryLongTestExampleVerylongtestexamplelower_camel_caseVeryLongTestExampleverylongtestexamplelower_snake_caseVeryLongTestExampleVerylongtestexampleupper_snake_caseVeryLongTestExampleVerylongtestexamplekebab_caseVeryLongTestExampleVerylongtestexampleupper_kebab_caseVeryLongTestExampleVerylongtestexamplecamel_caseveryLongTestExampleVerylongtestexamplelower_camel_caseveryLongTestExampleverylongtestexamplelower_snake_caseveryLongTestExampleVerylongtestexampleupper_snake_caseveryLongTestExampleVerylongtestexamplekebab_caseveryLongTestExampleVerylongtestexampleupper_kebab_caseveryLongTestExampleVerylongtestexampleExamples with custom separator [;]ModeInputOutputcamel_casevery;long;test;exampleVeryLongTestExamplelower_camel_casevery;long;test;exampleveryLongTestExamplelower_snake_casevery;long;test;examplevery_long_test_exampleupper_snake_casevery;long;test;exampleVery_Long_Test_Examplekebab_casevery;long;test;examplevery-long-test-exampleupper_kebab_casevery;long;test;exampleVery-Long-Test-Examplecamel_caseVery;Long;Test;ExampleVeryLongTestExamplelower_camel_caseVery;Long;Test;ExampleveryLongTestExampleThank youhttps://github.com/dwyl/english-words