https://github.com/ecrmnn/camelcase
https://github.com/ecrmnn/camelcase
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ecrmnn/camelcase
- Owner: ecrmnn
- License: mit
- Created: 2017-03-15T19:24:31.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-20T06:06:10.000Z (about 8 years ago)
- Last Synced: 2025-02-09T06:27:43.494Z (4 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# camelcase
> Convert to camelcase[](https://travis-ci.org/ecrmnn/camelcase'.svg?branch=master)
[](https://pypi.python.org/pypi/camel-case)
[](https://pypi.python.org/pypi/camel-case)
[](https://pypi.python.org/pypi/camel-case)### Installation
```bash
pip install camel-case
```### Usage
```python
from camelcase import camelcasecamelcase('foo-bar')
#=> fooBarcamelcase('FoO_BAR')
#=> fooBarcamelcase('__FOO__bar__')
#=> fooBarcamelcase('foo bar')
#=> fooBarcamelcase('foo bar')
#=> fooBarcamelcase('blå_bær_sylte-tøy')
#=> blåBærSylteTøycamelcase('blå', 'bær', 'sylte', 'tøy')
#=> blåBærSylteTøycamelcase(['spam', 'eggs'])
#=> spamEggs
```### Language support
Python 3.2 - 3.6 +### License
MIT © [Daniel Eckermann](http://danieleckermann.com)