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 details)
Built Distribution
File details
Details for the file phrases-case-0.1.1.tar.gz
.
File metadata
- Download URL: phrases-case-0.1.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.7.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 243c40fdf47ac9a20a63150710004002730b8f16ef67bf567929bff365839dc1 |
|
MD5 | 0a33395373c8b53748169d6425f6c27f |
|
BLAKE2b-256 | b8c2360b18dfe8e487e0a34b0e5b6b20a9b809351ea0f424572201d375d4bba1 |
File details
Details for the file phrases_case-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: phrases_case-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.7.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 138b20c4e81e86eafaaa43cf3d483fe5ee987a19fa69876a3752915b3f6ea3cb |
|
MD5 | 5a4c5879367ecdb552015914631d7758 |
|
BLAKE2b-256 | 2aa49c6e2ce54e1e0a94652c71610beb10623b4a0a62efac7e04686b0d0467e6 |