Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.
/ titlecase.py Public archive
forked from rob-b/titlecase.py

Stuart Colville's titlecase.py without ez_setup

Notifications You must be signed in to change notification settings

ixc/titlecase.py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=========
Titlecase
=========

Titlecase is a port of John Gruber's titlecase.pl
http://daringfireball.net/2008/05/title_case

This filter changes all words to Title Caps, and attempts to be clever
about *un*\capitalizing SMALL 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'.

Usage
=====


To use it is as simple as:

>>> from titlecase import titlecase
>>> titlecase('a thing')
'A Thing'


Bugs/Patches/Contributions
==========================

See https://launchpad.net/titlecase.py

About

Stuart Colville's titlecase.py without ez_setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published