Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install smartypants

How to install smartypants

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install smartypants
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.6.0.3
1.8.2Never BuiltWhy not?
1.6.0.3 Available View build log
Windows (64-bit)
1.6.0.3
1.8.2Never BuiltWhy not?
1.6.0.3 Available View build log
Mac OS X (10.5+)
1.7.1
1.8.2Never BuiltWhy not?
1.7.1 Available View build log
1.6.0.3 Available View build log
Linux (32-bit)
1.8.1
1.8.2Never BuiltWhy not?
1.8.1 Available View build log
1.7.1 Available View build log
1.6.0.3 Available View build log
Linux (64-bit)
1.8.2 Available View build log
1.8.1 Available View build log
1.7.1 Available View build log
1.6.0.3 Available View build log
1.8.2 Available View build log
1.8.1 Available View build log
1.7.1 Available View build log
 
Author
License
BSD License
Imports
Lastest release
version 1.8.2 on Sep 20th, 2013

smartypants is a Python port of SmartyPants.

Installation

To install it:

System Message: ERROR/3 (<string>, line 16)

Unknown directive type "code".

.. code:: sh

  pip install smartypants


Quick usage

To use it as a module:

System Message: ERROR/3 (<string>, line 26)

Unknown directive type "code".

.. code:: python

  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:

System Message: ERROR/3 (<string>, line 35)

Unknown directive type "code".

.. code:: sh

  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.

Subscribe to package updates

Last updated Sep 20th, 2013

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.