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
File details
Details for the file convert_case_py-0.0.2.tar.gz
.
File metadata
- Download URL: convert_case_py-0.0.2.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e49d13b03321d5e6de30dba9942b2d06b57c6ca4e5672454d73615a8fcc12c80 |
|
MD5 | a9758db76b647577ffa341296d56476e |
|
BLAKE2b-256 | 254c116197edb8e12f463f5203e8bae5b9112eb685b5c14cfb023e60da8a2820 |
File details
Details for the file convert_case_py-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: convert_case_py-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d3282e4071e0a57f02ee25ae805d6fec9e465277a1e41da194680c481432ba4 |
|
MD5 | 3c686b5184cf3f97f5b76c0797f03e42 |
|
BLAKE2b-256 | d23d7b6dbe939da2f6312d22771788c56f8150dfdf6524c1fbdd47499dc4b958 |