Port variant | v11 |
Summary | Python with the SmartyPants (3.11) |
BROKEN | |
Package version | 2.0.1 |
Homepage | https://github.com/leohemsted/smartypants.py |
Keywords | python |
Maintainer | Python Automaton |
License | Not yet specified |
Other variants | v12 |
Ravenports | Buildsheet | History |
Ravensource | Port Directory | History |
Last modified | 10 OCT 2023, 04:40:21 UTC |
Port created | 13 MAR 2021, 03:03:42 UTC |
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/
|
Build (only) |
python-pip:single:v11 autoselect-python:single:std |
Build and Runtime | python311:single:std |
main | mirror://PYPIWHL/da/ed/1da76d11aa858ee23dac5b52d9ac2db7df02b89f7679d5d8970bcd44b59c |
python-typogrify:v11 | Filters to enhance web typography (3.11) |