Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Python with the SmartyPants

Project description

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:

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

More information

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
smartypants-1.8.3.tar.gz (9.5 kB) Copy SHA256 hash SHA256 Source None Nov 8, 2013
smartypants-1.8.3.win32.exe (71.3 kB) Copy SHA256 hash SHA256 Windows Installer any Nov 8, 2013
smartypants-1.8.3.zip (11.0 kB) Copy SHA256 hash SHA256 Source None Nov 8, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page