Skip to main content

The easiest way to switch case of prop in return of your functions

Project description

CASE SWITCHER

The easiest way to switch case of prop in return of your functions

Installing

pip install object_case_switcher

Example

from object_case_switcher import transform_structure

@transform_structure(_async=False)
def some_function():
    return {
        "some_property": 42,
    }

print(some_function())

# >>> '{"someProperty": 42}'

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

object_case_switcher-0.0.25.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

object_case_switcher-0.0.25-py3-none-any.whl (5.9 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