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.

Source Distribution

camelcase-0.2.tar.gz (1.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page