Convert phrases between different cases.
Project description
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'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
phrases-case-0.1.1.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for phrases_case-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 138b20c4e81e86eafaaa43cf3d483fe5ee987a19fa69876a3752915b3f6ea3cb |
|
MD5 | 5a4c5879367ecdb552015914631d7758 |
|
BLAKE2b-256 | 2aa49c6e2ce54e1e0a94652c71610beb10623b4a0a62efac7e04686b0d0467e6 |