Skip to main content

Python with the SmartyPants

Project description

https://badge.fury.io/py/smartypants.svg https://secure.travis-ci.org/leohemsted/smartypants.py.png

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:

&#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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

smartypants-2.0.1-py2.py3-none-any.whl (9.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file smartypants-2.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for smartypants-2.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8db97f7cbdf08d15b158a86037cd9e116b4cf37703d24e0419a0d64ca5808f0d
MD5 b3a0324fd669ad87fccfe7fef9a829c6
BLAKE2b-256 daed1da76d11aa858ee23dac5b52d9ac2db7df02b89f7679d5d8970bcd44b59c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page