{ "info": { "author": "Jonathan Eunice", "author_email": "jonathan.eunice@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing :: Filters", "Topic :: Text Processing :: Markup", "Topic :: Text Processing :: Markup :: HTML", "Topic :: Text Processing :: Markup :: XML" ], "description": "\n| |travisci| |version| |versions| |impls| |wheel| |coverage|\n\n.. |travisci| image:: https://travis-ci.org/jonathaneunice/quoter.svg?branch=master\n :alt: Travis CI build status\n :target: https://travis-ci.org/jonathaneunice/quoter\n\n.. |version| image:: http://img.shields.io/pypi/v/quoter.svg?style=flat\n :alt: PyPI Package latest release\n :target: https://pypi.python.org/pypi/quoter\n\n.. |versions| image:: https://img.shields.io/pypi/pyversions/quoter.svg\n :alt: Supported versions\n :target: https://pypi.python.org/pypi/quoter\n\n.. |impls| image:: https://img.shields.io/pypi/implementation/quoter.svg\n :alt: Supported implementations\n :target: https://pypi.python.org/pypi/quoter\n\n.. |wheel| image:: https://img.shields.io/pypi/wheel/quoter.svg\n :alt: Wheel packaging support\n :target: https://pypi.python.org/pypi/quoter\n\n.. |coverage| image:: https://img.shields.io/badge/test_coverage-100%25-6600CC.svg\n :alt: Test line coverage\n :target: https://pypi.python.org/pypi/quoter\n\nUsage\n=====\n\n::\n\n from quoter import *\n\n print single('this') # 'this'\n print double('that') # \"that\"\n print backticks('ls -l') # `ls -l`\n print braces('curlycue') # {curlycue}\n print braces('curlysue', padding=1)\n # { curlysue }\n\nCute...but way too simple to be useful, right? Read on!\n\nLet's try something more complicated, where the output has to be\nintelligently based on context. Here's a taste of quoting some HTML\ncontent::\n\n print html.p(\"A para\", \".focus\")\n print html.img('.large', src='file.jpg')\n print html.br()\n print html.comment(\"content ends here\")\n\nYields::\n\n
A para
\n
\n