skip to navigation
skip to content

smartypants 1.8.3

Python with the SmartyPants

Package Documentation

Latest Version: 2.0.1

smartypants is a Python fork of SmartyPants.


To install it:

pip install smartypants

Quick usage

To use it as a module:

import smartypants

text = '"SmartyPants" is smart, so is <code>smartypants</code> -- a Python port'

To use the command-line script smartypants:

echo '"SmartyPants" is smart, so is <code>smartypants</code> -- a Python port' | smartypants

Both produce:

&#8220;SmartyPants&#8221; is smart, so is <code>smartypants</code> &#8212; a Python port

More information

File Type Py Version Uploaded on Size
smartypants-1.8.3.tar.gz (md5) Source 2013-11-08 9KB
smartypants-1.8.3.win32.exe (md5) MS Windows installer any 2013-11-08 69KB (md5) Source 2013-11-08 10KB