Skip to main content

A package for converting case styles to each other

Project description

CaseStyles

Install

pip install casestyles

Import

from casestyles import Name

Create name

name = Name.from_snake_case("snake_case_name")
name = Name.from_camel_case("camelCaseName")
name = Name.from_pascal_case("PascalCaseName")

Transform name

snake_case_name = name.snake_case camel_case_name = name.camel_case pascal_case_name = name.pascal_case

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

casestyles-1.2.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

casestyles-1.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file casestyles-1.2.tar.gz.

File metadata

  • Download URL: casestyles-1.2.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.3

File hashes

Hashes for casestyles-1.2.tar.gz
Algorithm Hash digest
SHA256 3ad9d235f82b206abfcfe8fa521fedf9cae528ce3e1c790e90bd0275cde8074d
MD5 c20a60be782e91d398016e03ff2c41b3
BLAKE2b-256 cecebefdb4f56f6131abd067a04f932e4456a919d1403406f8424f14a70a9d12

See more details on using hashes here.

File details

Details for the file casestyles-1.2-py3-none-any.whl.

File metadata

  • Download URL: casestyles-1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.3

File hashes

Hashes for casestyles-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 914472ebe3fee3ae20447516660b19ab2429bf6a946fd5446c18cdee816b8776
MD5 c249e55cc3287283bda361dfb5c01b17
BLAKE2b-256 c6d44fb7a5cbf41bdcf3ea2c1facf756377e6af6b272ff6cb7e2616a483a4ff9

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