Testing Site Testing Site

skip to navigation
skip to content

humps 0.2.2

camelCase converter

Convert any string to camelCase.


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.



pip install humps


from humps.camel import case

print(case('Hello, World!'))
# Output: helloWorld
File Type Py Version Uploaded on Size
humps-0.2.2-py2.py3-none-any.whl (md5, pgp) Python Wheel py2.py3 2018-03-13 5KB
humps-0.2.2.tar.gz (md5, pgp) Source 2018-03-13 3KB