Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

smartypants

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smartypants

Python with the SmartyPants

  • 2.0.1
  • PyPI
  • Socket score

Maintainers
1

.. image:: https://badge.fury.io/py/smartypants.svg :target: PyPI_

.. image:: https://secure.travis-ci.org/leohemsted/smartypants.py.png :target: https://travis-ci.org/leohemsted/smartypants.py

smartypants

smartypants_ is a Python fork of SmartyPants__.

.. smartypants: https://github.com/leohemsted/smartypants.py __ SmartyPantsPerl .. _SmartyPantsPerl: http://daringfireball.net/projects/smartypants/

Installation

To install it:

.. code:: sh

pip install smartypants

Quick usage

To use it as a module:

.. code:: python

import smartypants

text = '"SmartyPants" is smart, so is smartypants -- a Python port' print(smartypants.smartypants(text))

To use the command-line script smartypants:

.. code:: sh

echo '"SmartyPants" is smart, so is smartypants -- a Python port' | smartypants

Both produce::

“SmartyPants” is smart, so is smartypants — a Python port

More information

  • Documentation_
  • Source code_
  • PyPI_

.. _documentation: http://pythonhosted.org/smartypants/ .. Source code: smartypants .. _PyPI: https://pypi.python.org/pypi/smartypants/

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc