Skip to main content

A python port of the npm package `change-case`

Project description

A python port of the npm package change-case.

Transform a string between camelCase, PascalCase, Capital Case, snake_case, param-case, CONSTANT_CASE and others.

  • Free software: MIT license

Installation

pip install case-changer

You can also install the in-development version with:

pip install https://github.com/philipptempel/python-case-changer/archive/master.zip

Documentation

https://python-case-changer.readthedocs.io/

Development

To run the all tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

0.1.0 (2020-03-30)

  • First release on PyPI.

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

case-changer-0.1.0.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

case_changer-0.1.0-py2.py3-none-any.whl (6.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file case-changer-0.1.0.tar.gz.

File metadata

  • Download URL: case-changer-0.1.0.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.5

File hashes

Hashes for case-changer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cef7597684c176b46624058871404a3deeac17595e665efd1fcedddcce3a75b9
MD5 eec704c5b1e050699fefd8e25dbd490a
BLAKE2b-256 352aabd5eb15cb0ee78e058eeafce534a32055802a586f4c09ed9f4b53899484

See more details on using hashes here.

File details

Details for the file case_changer-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: case_changer-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.5

File hashes

Hashes for case_changer-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4cbd570b16206f5ea7c4f3ddf6dbd341559066399c0c303d5265845bc115964d
MD5 de1db5cf88e4fb0507289a113aa3c3a7
BLAKE2b-256 e740d243311f65e36393aa82fc5fee485a661b5253e56aa45d144a1398275dd2

See more details on using hashes here.

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