Skip to main content

smartypants is a Python fork of SmartyPants.

Installation

To install it:

python -m 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

Metadata

Release files for smartypants 2.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for smartypants 2.0.2
File Size Uploaded
smartypants-2.0.2.tar.gz 16.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for smartypants 2.0.2
File Interpreter ABI Platform
smartypants-2.0.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 26.6 kB

Release files / smartypants-2.0.2.tar.gz

Download URL smartypants-2.0.2.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
39d64ce1d7cc6964b698297bdf391bc12c3251b7f608e6e55d857cd7c5f800c6
BLAKE2b-256 checksum
How to use checksums
6c8fa033f78196d9467b402d100ec40b95166d43fa2642693f23f771473d8195
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / smartypants-2.0.2-py2.py3-none-any.whl

Download URL smartypants-2.0.2-py2.py3-none-any.whl
Size 10.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9471578606e8ee0740065bf8771f55fec8c83313cb98c5d1c1864ddd389d0f3a
BLAKE2b-256 checksum
How to use checksums
392cf12558bff677defbfc64bf32441daec245df608dd2d9a12168f1d766ad75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

2.0.2 This release

2 release files

2.0.1

1 release file

2.0.0

2 release files

1.8.6

4 release files

1.8.5

4 release files

1.8.4

4 release files

1.8.3

3 release files

1.8.2

3 release files

1.8.1

3 release files

1.8.0

3 release files

1.7.1

3 release files

1.7.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page