Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 484 Bytes

File metadata and controls

27 lines (20 loc) · 484 Bytes

camelcase

Python port of javascript camelcase library

Usage

This library takes strings and list of strings to convert them to camelCase. CamelCased parts of the string will be preserved.

Example usage:

>>> from camelcase import camelcase
>>> camelcase('foo-Bar')
'fooBar'
>>> camelcase('fooBar')
'fooBar'
>>> camelcase(['foo', 'Bar'])
'fooBar'

Installing

You'll need Python 2.7 or Python 3.