Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

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

Release history Release notifications

This version
History Node

0.2

History Node

0.1

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 Jan 12, 2015

Supported by

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