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:
“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
smartypants-1.8.6.zip
(15.4 kB
view details)
smartypants-1.8.6.tar.gz
(13.3 kB
view details)
Built Distributions
smartypants-1.8.6.win32.exe
(71.3 kB
view details)
File details
Details for the file smartypants-1.8.6.zip
.
File metadata
- Download URL: smartypants-1.8.6.zip
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
777626594ef5e6f4f9ec64b17f18d09efe72a5bdf2bdb388e06cf42f81065090
|
|
MD5 |
dee6c1a5315c8968e4aa44e540786f8c
|
|
BLAKE2b-256 |
d816c7e0f07c4875565657317c4a53615273ca6d9c58b3f850c5a0c22f8efc6f
|
File details
Details for the file smartypants-1.8.6.tar.gz
.
File metadata
- Download URL: smartypants-1.8.6.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
dcc206478e633b03e9abfeb7512a0acf90191cb4b38d251e05468ef063386512
|
|
MD5 |
97484a618fc35508ca2961445f4aa597
|
|
BLAKE2b-256 |
b95ae7491c562a5be81da0a09972b24e1f564c326a1ff501d5907000a5b83dd8
|
File details
Details for the file smartypants-1.8.6.win32.exe
.
File metadata
- Download URL: smartypants-1.8.6.win32.exe
- Upload date:
- Size: 71.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
78ce4c37782f6d47ff25c2c049cdb2f4e7fdeac355984f4967feb5852414400c
|
|
MD5 |
a3b31051383a6d97ffed4d522f67880f
|
|
BLAKE2b-256 |
3ad603dacf4a7346863d328c2d6f6095cdb7526995964337486f0a4d1897e071
|
File details
Details for the file smartypants-1.8.6-py2.py3-none-any.whl
.
File metadata
- Download URL: smartypants-1.8.6-py2.py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
fd840fd1144c6959a5d0578531d7f2b4efb134f7ce00cf60380c89402d36ff1d
|
|
MD5 |
510e30ab28bc0128ef030b4c26d809ce
|
|
BLAKE2b-256 |
96d73503fac52e97455d0b62ba489a2eae4bd3e952ce9c36b0c840cb3a23adf8
|