Python with the SmartyPants
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.
See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for smartypants-2.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8db97f7cbdf08d15b158a86037cd9e116b4cf37703d24e0419a0d64ca5808f0d |
|
MD5 | b3a0324fd669ad87fccfe7fef9a829c6 |
|
BLAKE2b-256 | daed1da76d11aa858ee23dac5b52d9ac2db7df02b89f7679d5d8970bcd44b59c |