.. 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 <code>smartypants</code> -- a Python port'
print(smartypants.smartypants(text))
To use the command-line script ``smartypants``:
.. code:: sh
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
----------------
* Documentation_
* `Source code`_
* PyPI_
.. _documentation: http://pythonhosted.org/smartypants/
.. _Source code: smartypants_
.. _PyPI: https://pypi.python.org/pypi/smartypants/
Raw data
{
"_id": null,
"home_page": "https://github.com/leohemsted/smartypants.py",
"name": "smartypants",
"maintainer": "",
"docs_url": "https://pythonhosted.org/smartypants/",
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Leo Hemsted",
"author_email": "leohemsted@gmail.com",
"download_url": "",
"platform": "",
"description": ".. image:: https://badge.fury.io/py/smartypants.svg\n :target: PyPI_\n\n.. image:: https://secure.travis-ci.org/leohemsted/smartypants.py.png\n :target: https://travis-ci.org/leohemsted/smartypants.py\n\nsmartypants\n===========\n\nsmartypants_ is a Python fork of SmartyPants__.\n\n.. _smartypants: https://github.com/leohemsted/smartypants.py\n__ SmartyPantsPerl_\n.. _SmartyPantsPerl: http://daringfireball.net/projects/smartypants/\n\n\n\nInstallation\n------------\n\nTo install it:\n\n.. code:: sh\n\n pip install smartypants\n\n\nQuick usage\n-----------\n\nTo use it as a module:\n\n.. code:: python\n\n import smartypants\n\n text = '\"SmartyPants\" is smart, so is <code>smartypants</code> -- a Python port'\n print(smartypants.smartypants(text))\n\nTo use the command-line script ``smartypants``:\n\n.. code:: sh\n\n echo '\"SmartyPants\" is smart, so is <code>smartypants</code> -- a Python port' | smartypants\n\nBoth produce::\n\n “SmartyPants” is smart, so is <code>smartypants</code> — a Python port\n\n\nMore information\n----------------\n\n* Documentation_\n* `Source code`_\n* PyPI_\n\n.. _documentation: http://pythonhosted.org/smartypants/\n.. _Source code: smartypants_\n.. _PyPI: https://pypi.python.org/pypi/smartypants/\n\n\n",
"bugtrack_url": null,
"license": "BSD License",
"summary": "Python with the SmartyPants",
"version": "2.0.1",
"project_urls": {
"Homepage": "https://github.com/leohemsted/smartypants.py"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "daed1da76d11aa858ee23dac5b52d9ac2db7df02b89f7679d5d8970bcd44b59c",
"md5": "b3a0324fd669ad87fccfe7fef9a829c6",
"sha256": "8db97f7cbdf08d15b158a86037cd9e116b4cf37703d24e0419a0d64ca5808f0d"
},
"downloads": -1,
"filename": "smartypants-2.0.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "b3a0324fd669ad87fccfe7fef9a829c6",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 9875,
"upload_time": "2017-12-20T16:24:38",
"upload_time_iso_8601": "2017-12-20T16:24:38.080582Z",
"url": "https://files.pythonhosted.org/packages/da/ed/1da76d11aa858ee23dac5b52d9ac2db7df02b89f7679d5d8970bcd44b59c/smartypants-2.0.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2017-12-20 16:24:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "leohemsted",
"github_project": "smartypants.py",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"lcname": "smartypants"
}