Library to convert dict in different case
Project description
convert-case-py is a Python package providing utils task to the Git.
Installation
As of 0.0.2, convert-case-py is compatible with Python 3.7+.
Use pip to install the latest stable version of convert-case-py:
$ pip install --upgrade convert-case-py
Command
- Case.camelcase_to_lowercase(
{‘helloWorld’: 1, ‘helloWorldHuman’: ‘Value’, ‘testHelloWorld’: {‘otherTestHelloWorld’: ‘value’}})
- Case.pascalcase_to_snakecase(
{‘HelloWorld’: 1, ‘HelloWorldHuman’: ‘Value’, ‘TestHelloWorld’: {‘OtherTestHelloWorld’: ‘value’}})
- Case.camelcase_to_snakecase(
{‘helloWorld’: 1, ‘helloWorldHuman’: ‘Value’, ‘testHelloWorld’: {‘otherTestHelloWorld’: ‘value’}})
- Case.snakecase_to_camelcase(
{‘hello_world’: 1, ‘hello_world_human’: ‘Value’, ‘test_hello_world’: {‘other_hello_world’: ‘value’}})
- Case.snakecase_to_lowercase(
{‘hello_world’: 1, ‘hello_world_human’: ‘Value’, ‘test_hello_world’: {‘other_hello_world’: ‘value’}})
- Case.snakecase_to_pascalcase(
{‘hello_world’: 1, ‘hello_world_human’: ‘Value’, ‘test_hello_world’: {‘other_hello_world’: ‘value’}})
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
Built Distribution
Hashes for convert_case_py-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d3282e4071e0a57f02ee25ae805d6fec9e465277a1e41da194680c481432ba4 |
|
MD5 | 3c686b5184cf3f97f5b76c0797f03e42 |
|
BLAKE2b-256 | d23d7b6dbe939da2f6312d22771788c56f8150dfdf6524c1fbdd47499dc4b958 |