smartypants.py is a Python fork of SmartyPants. Translate plain ASCII punctuation characters into "smart" typographic punctuation HTML entities.