Last updated:
0 purchases
phrasescase 0.1.1
phrases case
Convert phrases between different cases.
Not using re module.
>>> import phrases_case
>>> phrases_case.snake('camelCase')
'camel_case'
>>> phrases_case.snake('camelCase', separator='-')
'camel-case'
>>> phrases_case.hyphen('camelCase')
'camel-case'
>>> phrases_case.space('camelCase')
'camel case'
>>> phrases_case.camel('snake_case')
'snakeCase'
>>> phrases_case.pascal('snake_case')
'SnakeCase'
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.