Skip to main content

Converts a string to Camel Case

Project description

Converts a string to Camel Case with the ability to include words to skip over.



Basic Usage
===========

.. code:: python
from camelcase import CamelCase
c = CamelCase()
s = 'this is a sentence that needs CamelCasing!'
print c.hump(s)
# This is a Sentence That Needs CamelCasing!


If you have particular words that you want to skip then you can do the following...

.. code:: python
from camelcase import CamelCase
c = CamelCase('little', 'another')
s = 'this is a another sentence, but this one is a little different'
print c.hump(s)
# This is a another Sentence, But This One is a little Different

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
camelcase-0.2.tar.gz (1.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page