Skip to main content

Library to convert dict in different case

Project description

https://badge.fury.io/py/convert-case-py.svg https://img.shields.io/pypi/pyversions/convert-case-py.svg https://img.shields.io/badge/code%20style-black-000000.svg

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

convert_case_py-0.0.2.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

convert_case_py-0.0.2-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page