ppannuto/python-titlecase — pull request #4 by dcwatson (2014-07-21 18:04:19+00:00)
Title: Add an optional callback to titlecase

There are times when an application may want more control over how certain words are title-cased. Specifically, in my case, I have several titles in all caps and want to retain the capitalization of certain abbreviations. I figured the most generic way to handle something like this would be to introduce a callback function that had the first chance to take action on each word.