Skip to main content

camelCase converter

Project description

Convert any string to camelCase.

Description

camelCase starts with a lower case alphabetic character, the rest of the string contains alphanumeric characters. Any character case in the input is ignored. Any spaces in the input capitalise the following character if alphabetic, except for the first character. Any non-alphanumeric characters are ignored.

Installation

Shell:

pip install humps

Python:

from humps.camel import case

print(case('Hello, World!'))
# Output: helloWorld

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

humps-0.2.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

humps-0.2.2-py2.py3-none-any.whl (5.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file humps-0.2.2.tar.gz.

File metadata

  • Download URL: humps-0.2.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for humps-0.2.2.tar.gz
Algorithm Hash digest
SHA256 777f7a17f6b20aa9cc078d63b56ebd66532c6b2c88b370f1d596d5205410f67c
MD5 25b49909d5a6b7384b666872947b94f1
BLAKE2b-256 fde0d7a257bfa65809cc80bf956825e57094cba2f5b70c92ef761790dd4dcffa

See more details on using hashes here.

File details

Details for the file humps-0.2.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for humps-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 401de60fd73673b697086ba7c865966751c57b11cce57a37c9eabb3e75938417
MD5 d0e3753d29a179a152ae5e426c8463da
BLAKE2b-256 02073dbbe1c94649793c39dbb24445a667d0530d25e35033217b8c15f70c1646

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