skip to navigation
skip to content

Not Logged In

titlecase 0.6.0

Python Port of John Gruber's

Latest Version: 0.7.2

This filter changes all words to Title Caps, and attempts to be clever about unSMALL words like a/an/the in the input.

The list of “SMALL words” which are not capped comes from the New York Times Manual of Style, plus ‘vs’ and ‘v’.

This is a fork of Stuart Colville’s, which was in turn a port of John Gruber’s

The purpose of this fork is to update the package to support Python 3 as well as provide a maintained version of this utility. Issues or better pull requests are welcome.


To use it is as simple as:

>>> from titlecase import titlecase
>>> titlecase('a thing')
'A Thing'
File Type Py Version Uploaded on Size
titlecase-0.6.0.tar.gz (md5) Source 2014-04-25 4KB
  • Downloads (All Versions):
  • 179 downloads in the last day
  • 1074 downloads in the last week
  • 4122 downloads in the last month