Port variant | v12 |
Summary | Python with the SmartyPants (3.12) |
BROKEN | |
Package version | 2.0.1 |
Homepage | https://github.com/leohemsted/smartypants.py |
Keywords | python |
Maintainer | Python Automaton |
License | Not yet specified |
Other variants | v13 |
Ravenports | Buildsheet | History |
Ravensource | Port Directory | History |
Last modified | 11 NOV 2024, 23:28:05 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) |
python312:dev:std python-pip:single:v12 autoselect-python:single:std |
Build and Runtime | python312:primary:std |
main | mirror://PYPIWHL/da/ed/1da76d11aa858ee23dac5b52d9ac2db7df02b89f7679d5d8970bcd44b59c |
python-typogrify:v12 | Filters to enhance web typography (3.12) |