skip to navigation
skip to content

smartypants 2.0.1

Python with the SmartyPants

Package Documentation


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-2.0.1-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-12-20 9KB