Proper capitalization for titles in Python
<p>I'm looking for a library that properly capitalizes a given string by assuming it is a title. I know there is string.title(), but it capitalizes every work, not just the one's that should be capitalized. Anyone know any libraries?</p>

<p>Examples of words that should not be capitalized in titles:</p>

<ul>
<li>Propositions (in, from, etc.)</li>
<li>Articles (a, an, the)</li>
<li>van</li>
<li>de</li>
</ul>
