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.
Use pip to install from PyPI:
pip install inflection
To contribute to Inflector create a fork on GitHub. Clone your fork, make some changes, and submit a pull request.