{ "info": { "author": "Richard Cornish", "author_email": "rich@richardcornish.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.11", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "Framework :: Django :: 2.0", "Intended Audience :: Developers", "License :: OSI Approved :: BSD 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.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "Django Smarty\n*************\n\n|PyPI version|_\n\n.. |PyPI version| image::\n https://badge.fury.io/py/django-smarty.svg\n.. _PyPI version: https://pypi.python.org/pypi/django-smarty\n\n**Django Smarty** is a `Django `_ `template filter `_ application to convert ASCII punctuation characters into smart typographic punctuation HTML entities with `SmartyPants `_. Uses the `Python smartypants `_ package.\n\n* `Package distribution `_\n* `Code repository `_\n\nInstall\n=======\n\n.. code-block:: bash\n\n $ pipenv install django-smarty\n\nAdd to ``settings.py``.\n\n.. code-block:: python\n\n INSTALLED_APPS = [\n # ...\n 'smarty',\n ]\n\nUsage\n=====\n\n.. code-block:: django\n\n {% load smarty_tags %}\n\n {{ post.body|smarty }}\n\nResult:\n\n.. code-block:: html\n\n “Hello—world!”\n\nSettings\n========\n\n``smarty`` is a filter composed of several smaller filters:\n\n- ``smartypants`` is the original SmartyPants\n- ``smartycaps`` wraps capital letters in ````\n\nOne can apply any filter individually. For example, if one preferred the original SmartyPants, write ``{{ post.body|smartypants }}``.\n\nOne can customize the application and order of ``smarty`` filters with the ``SMARTY_FILTERS`` setting. By default, the ``SMARTY_FILTERS`` setting is:\n\n.. code-block:: python\n\n SMARTY_FILTERS = [\n 'smartypants',\n 'smartycaps',\n ]\n\nOne can also customize the HTML class of ``smartycaps`` with the ``SMARTY_CAPS_CLASS`` setting. By default, the ``SMARTY_CAPS_CLASS`` setting is:\n\n.. code-block:: python\n\n SMARTY_CAPS_CLASS = 'initialism'\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/richardcornish/django-smarty", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-smarty", "package_url": "https://pypi.org/project/django-smarty/", "platform": "", "project_url": "https://pypi.org/project/django-smarty/", "project_urls": { "Homepage": "https://github.com/richardcornish/django-smarty" }, "release_url": "https://pypi.org/project/django-smarty/0.1.3/", "requires_dist": [ "smartypants" ], "requires_python": "", "summary": "A Django template filter to convert ASCII punctuation into typographic punctuation HTML entities.", "version": "0.1.3" }, "last_serial": 3489510, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "4dd225b065567aa8acca9f1274f74ac9", "sha256": "8e10b77e53da58d6c4372f3e88cee67759ca9f142091e7feb700bd19eb936620" }, "downloads": -1, "filename": "django_smarty-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4dd225b065567aa8acca9f1274f74ac9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4649, "upload_time": "2018-01-13T22:45:50", "url": "https://files.pythonhosted.org/packages/2c/9a/61a0473021704f5effa005364ba1a59eba5ab4c28abc17d5add6ee21c105/django_smarty-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d700b38e09c9b2581225b5d8a915267a", "sha256": "5d9df0eca5e5e8564370094dcc44a63bacb3d15dcc9f7e005991443c8064bf46" }, "downloads": -1, "filename": "django-smarty-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d700b38e09c9b2581225b5d8a915267a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3341, "upload_time": "2018-01-13T22:45:52", "url": "https://files.pythonhosted.org/packages/cb/02/bc448f3e3287e7c74f0421de5b36cb4db5c59637fb2af56ec539adb10395/django-smarty-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "3204edd3bded62e59b8bab916d659681", "sha256": "fd1fdb4fc321430c6ed7e8ad00338778ed118216c388e8759d9f884ab83a5aae" }, "downloads": -1, "filename": "django_smarty-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3204edd3bded62e59b8bab916d659681", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4596, "upload_time": "2018-01-13T22:54:34", "url": "https://files.pythonhosted.org/packages/be/4e/577f5146bd731f36bbe7427e0fb6d753829b568cac02350ce4a99c00c59c/django_smarty-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e50db94f10493b4f6aacfb101e60dd0c", "sha256": "c81a0195dec6c77d4a8c013e80e65646555c0f32a37b953921f5d9455e2675f7" }, "downloads": -1, "filename": "django-smarty-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e50db94f10493b4f6aacfb101e60dd0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3322, "upload_time": "2018-01-13T22:54:38", "url": "https://files.pythonhosted.org/packages/0f/92/ef63b0110f6b1ebe7af2f7d1841bd7d612647bddeffbf2664f8910078497/django-smarty-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "751823c4bcbd8fab2ca6317c451c7c76", "sha256": "9bec93aa8fdbf84cca5348cc400af03426688aa7c5ca0908c9e063308643b390" }, "downloads": -1, "filename": "django_smarty-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "751823c4bcbd8fab2ca6317c451c7c76", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5167, "upload_time": "2018-01-14T21:01:35", "url": "https://files.pythonhosted.org/packages/06/cc/566b380290dd71f38c14e094d05a8342c07294b4d8a9bfe64121e06e8da4/django_smarty-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7c06cc3711ba2583cf4b2bb8fdde94b0", "sha256": "74a6fa1dd42d45d0449b51a7f5903053564e231165a09fd14c94199efea260d1" }, "downloads": -1, "filename": "django-smarty-0.1.2.tar.gz", "has_sig": false, "md5_digest": "7c06cc3711ba2583cf4b2bb8fdde94b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3695, "upload_time": "2018-01-14T21:01:38", "url": "https://files.pythonhosted.org/packages/50/40/322ed0698965fdefad73cff35bd5ed47ef5f1ac15a536390c4093410d63a/django-smarty-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2c1786bd2d64daaacb8a489608e93293", "sha256": "2664f03a62e3db7a94f6e05f1f2fc49f69b492d5bdd5a7e1c80a6b58a69b6071" }, "downloads": -1, "filename": "django_smarty-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2c1786bd2d64daaacb8a489608e93293", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5898, "upload_time": "2018-01-14T21:37:05", "url": "https://files.pythonhosted.org/packages/cb/e6/38e898f5aa393e5a5dbccc729bffd3a90de4c0582d7292879b890b4b07df/django_smarty-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "02cd74da2740e9e2d6655a1ec8600342", "sha256": "54caad77846c101f9e354b55db7e901e2d56a889d94309ebd794ff66356c9734" }, "downloads": -1, "filename": "django-smarty-0.1.3.tar.gz", "has_sig": false, "md5_digest": "02cd74da2740e9e2d6655a1ec8600342", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4038, "upload_time": "2018-01-14T21:37:08", "url": "https://files.pythonhosted.org/packages/22/ef/24ad1262e1a4b308e7e5b69e758b9d70a81d9bf5828ad38b6a231413733f/django-smarty-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2c1786bd2d64daaacb8a489608e93293", "sha256": "2664f03a62e3db7a94f6e05f1f2fc49f69b492d5bdd5a7e1c80a6b58a69b6071" }, "downloads": -1, "filename": "django_smarty-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2c1786bd2d64daaacb8a489608e93293", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5898, "upload_time": "2018-01-14T21:37:05", "url": "https://files.pythonhosted.org/packages/cb/e6/38e898f5aa393e5a5dbccc729bffd3a90de4c0582d7292879b890b4b07df/django_smarty-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "02cd74da2740e9e2d6655a1ec8600342", "sha256": "54caad77846c101f9e354b55db7e901e2d56a889d94309ebd794ff66356c9734" }, "downloads": -1, "filename": "django-smarty-0.1.3.tar.gz", "has_sig": false, "md5_digest": "02cd74da2740e9e2d6655a1ec8600342", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4038, "upload_time": "2018-01-14T21:37:08", "url": "https://files.pythonhosted.org/packages/22/ef/24ad1262e1a4b308e7e5b69e758b9d70a81d9bf5828ad38b6a231413733f/django-smarty-0.1.3.tar.gz" } ] }