Skip to main content

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.

Source Distributions

smartypants-1.8.5.zip (15.1 kB view details)

Uploaded Source

smartypants-1.8.5.tar.gz (12.9 kB view details)

Uploaded Source

Built Distributions

smartypants-1.8.5.win32.exe (71.3 kB view details)

Uploaded Source

smartypants-1.8.5-py2.py3-none-any.whl (10.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file smartypants-1.8.5.zip.

File metadata

  • Download URL: smartypants-1.8.5.zip
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for smartypants-1.8.5.zip
Algorithm Hash digest
SHA256 ab2887c1bbd24f1289fe4fc89325b61c84c6731216b4e47a1268c98aca7c6f8a
MD5 8dcb25e3a9664c9a544503406fea4396
BLAKE2b-256 4f003bae7523b3455211f34e8d6961c3cc6b3882c410507369d76adb01cd4b21

See more details on using hashes here.

File details

Details for the file smartypants-1.8.5.tar.gz.

File metadata

  • Download URL: smartypants-1.8.5.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for smartypants-1.8.5.tar.gz
Algorithm Hash digest
SHA256 27eec1bb4ad73b3f52e50feb6c35e0c4e06910b9c2f73ab102a83f35c9f37370
MD5 54ad881b725cc5f975ff2d0131f7468c
BLAKE2b-256 3d701c5b34df70a2a485d46e2474c60b38a89c2344b7c76edfc3f33049e036f8

See more details on using hashes here.

File details

Details for the file smartypants-1.8.5.win32.exe.

File metadata

File hashes

Hashes for smartypants-1.8.5.win32.exe
Algorithm Hash digest
SHA256 6b1ac8d69c7404769cdd13b5d96a6a77ed250138f26e4fc1c34722e2bbce97a1
MD5 37fe6b4c8a7b1f91168151943972b516
BLAKE2b-256 95a769ee7e74d7a43caa665acb45870fc3e5a8e1b1732c2e8565245b36aeeab1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for smartypants-1.8.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a0a762e9a22c3fb234af14d351692ad9c6db6d87ef67b9ba5ec9fe3923473d60
MD5 7581b07f2ea6ca71b958d911ba982080
BLAKE2b-256 8c3c0bb5c25896cc1058e5d5c630a7dbed8b341f1112ecc63bc5f0fc66d485a3

See more details on using hashes here.

Supported by

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