0 purchases
smartypants 2.0.1
smartypants
smartypants is a Python fork of SmartyPants.
Installation
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'
print(smartypants.smartypants(text))
To use the command-line script smartypants:
echo '"SmartyPants" is smart, so is <code>smartypants</code> -- a Python port' | smartypants
Both produce:
“SmartyPants” is smart, so is <code>smartypants</code> — a Python port
More information
Documentation
Source code
PyPI
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.