Skip to main content

Python with the SmartyPants

Project description

smartypants is a Python port 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

You can read smartypants’ documentation or visit smartypants on Bitbucket.

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.2.zip (10.6 kB view details)

Uploaded Source

smartypants-1.8.2.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

smartypants-1.8.2.win32.exe (70.8 kB view details)

Uploaded Source

File details

Details for the file smartypants-1.8.2.zip.

File metadata

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

File hashes

Hashes for smartypants-1.8.2.zip
Algorithm Hash digest
SHA256 d8af19700c218a28944d53ef6d1c73dcdcd8d0de7dc5c5585dd2c679b728556d
MD5 18c4cb629f7af2010e7d08a6860fef92
BLAKE2b-256 a0b144b02a2585d9fe55b4fc5f6f204904fd0d394527b687e1f99512a12b8c2f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for smartypants-1.8.2.tar.gz
Algorithm Hash digest
SHA256 291a23b3e6a5555459db3e643d6062a3b5f18dbb29b44403bc96f053c3845605
MD5 6d59862c4056ab64a164fdceadc66193
BLAKE2b-256 ff87545535ffde2071b36d7a18ccfa0c0637d0f19cbc3b13066a0ba9ad31e521

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for smartypants-1.8.2.win32.exe
Algorithm Hash digest
SHA256 84c2e57ab5bd2d266bea71b59304d80c585d5eef0145d2fcec42e919b7585ee0
MD5 2ff9a3d95a5975463b49621d00b33720
BLAKE2b-256 8d12008b21d77fea23ac3132ba3014a1cf00250f6403cd539a1a030b69271664

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