python-smartypants
Subpackage Descriptions
single |
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/
|
Configuration Switches (platform-specific settings discarded)
PY312 OFF Build using Python 3.12
PY313 ON Build using Python 3.13
Package Dependencies by Type
Download groups
main |
mirror://PYPIWHL/da/ed/1da76d11aa858ee23dac5b52d9ac2db7df02b89f7679d5d8970bcd44b59c |
Distribution File Information
8db97f7cbdf08d15b158a86037cd9e116b4cf37703d24e0419a0d64ca5808f0d 9875 python-src/smartypants-2.0.1-py2.py3-none-any.whl
Ports that require python-smartypants:v13