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 details)

Uploaded Source

File details

Details for the file camelcase-0.2.tar.gz.

File metadata

  • Download URL: camelcase-0.2.tar.gz
  • Upload date:
  • Size: 1.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for camelcase-0.2.tar.gz
Algorithm Hash digest
SHA256 cb416a1f5ee10473120ac49303a5b927b879c74de9624ebe2764b8cd26791ee2
MD5 a363a81fbcd44afd35193686008238d6
BLAKE2b-256 24546bc20bf371c1c78193e2e4179097a7b779e56f420d0da41222a3b7d87890

See more details on using hashes here.

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