An open API service indexing awesome lists of open source software.

https://github.com/flopp/camelsplit

Camel case aware word splitting.
https://github.com/flopp/camelsplit

Last synced: 4 months ago
JSON representation

Camel case aware word splitting.

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/flopp/camelsplit.svg?branch=master)](https://travis-ci.org/flopp/camelsplit)
[![PyPI Package](https://img.shields.io/pypi/v/camelsplit.svg)](https://pypi.org/project/camelsplit/)
![License MIT](https://img.shields.io/github/license/flopp/camelsplit.svg)

# camelsplit 🐪🖖
Camel case aware word splitting.

## Install

Just grab the package from PyPI:

```
pip install camelsplit
```

## Usage

```
from camelsplit import camelsplit

# 'CamelCase' -> ['Camel', 'Case']
camelsplit('CamelCase')

# 'HTTPRequest' -> ['HTTP', 'Request']
camelsplit('HTTPRequest')

# 'IEEE 802.11ac' -> ['IEEE', ' 802.11', 'ac']
camelsplit('IEEE 802.11ac')
```

## License

[MIT](https://github.com/flopp/camelsplit/blob/master/LICENSE) © 2018 Florian Pigorsch & contributors