Port variant | py310 |
Summary | Python with the SmartyPants (3.10) |
Package version | 2.0.1 |
Homepage | https://github.com/leohemsted/smartypants.py |
Keywords | python |
Maintainer | Python Automaton |
License | Not yet specified |
Other variants | v11 |
Ravenports | Buildsheet | History |
Ravensource | Port Directory | History |
Last modified | 23 JAN 2023, 06:04:31 UTC |
Port created | 12 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:py310 autoselect-python:single:standard |
Build and Runtime | python310:single:standard |
main | mirror://PYPIWHL/da/ed/1da76d11aa858ee23dac5b52d9ac2db7df02b89f7679d5d8970bcd44b59c |
python-typogrify:py310 | Filters to enhance web typography (3.10) |