Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (35 sloc) 1.12 KB

Inflection

Inflection is a string transformation library. It singularizes and pluralizes English words, and transforms strings from CamelCase to underscored_string. Inflection is a port of Ruby on Rails' inflector to Python.

Installation

Use pip to install from PyPI:

pip install inflection

Contributing

To contribute to Inflector create a fork on GitHub. Clone your fork, make some changes, and submit a pull request.

API Documentation

.. module:: inflection

.. autofunction:: camelize
.. autofunction:: dasherize
.. autofunction:: humanize
.. autofunction:: ordinal
.. autofunction:: ordinalize
.. autofunction:: parameterize
.. autofunction:: pluralize
.. autofunction:: singularize
.. autofunction:: tableize
.. autofunction:: titleize
.. autofunction:: transliterate
.. autofunction:: underscore


License