{
"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",
"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 Smart Spaceless\n**********************\n\n|PyPI version|_ |Build status|_\n\n.. |PyPI version| image::\n https://badge.fury.io/py/django-smartspaceless.svg\n.. _PyPI version: https://pypi.python.org/pypi/django-smartspaceless\n\n.. |Build status| image::\n https://travis-ci.org/richardcornish/django-smartspaceless.svg?branch=master\n.. _Build status: https://travis-ci.org/richardcornish/django-smartspaceless\n\n**Django Smart Spaceless** is a `Django `_ `template tag `_ application for minifying block-level HTML elements only.\n\nIt's just like |spaceless|_, but preserves white space between inline HTML elements. Useful for HTML where spaces directly between ````, ````, and other inline elements is likely desired to be preserved. Packages the `django-htmlmin `_ project to be used as a template tag.\n\n.. |spaceless| replace:: ``spaceless``\n.. _spaceless: https://docs.djangoproject.com/en/1.11/ref/templates/builtins/#spaceless\n\n* `Package distribution `_\n* `Code repository `_\n* `Documentation `_\n* `Tests `_\n\nInstall\n=======\n\n.. code-block:: bash\n\n $ pip install django-smartspaceless\n\nAdd to ``settings.py``.\n\n.. code-block:: python\n\n INSTALLED_APPS = [\n # ...\n 'smartspaceless',\n ]\n\nUsage\n=====\n\n.. code-block:: django\n\n {% load smartspaceless_tags %}\n\n {% smartspaceless %}\n Link 1
\n Link 2 Link 3
\n {% endsmartspaceless %}\n\nResult:\n\n.. code-block:: html\n\n Link 1
Link 2 Link 3
\n\nThe space between ``Link 2`` and ``Link 3`` is preserved. Removing that space would be bad.\n\nNote\n====\n\nPlease note that `django-htmlmin `_ by default uses the `html5lib `_ parser, which prepends possibly missing ```` and appends possibly missing ```` tags in an effort to create valid HTML. The template tag changes this default behavior to use `html.parser `_, the HTML parser in Python's standard library, which does not alter HTML fragments.\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-smartspaceless",
"keywords": "",
"license": "BSD License",
"maintainer": "",
"maintainer_email": "",
"name": "django-smartspaceless",
"package_url": "https://pypi.org/project/django-smartspaceless/",
"platform": "",
"project_url": "https://pypi.org/project/django-smartspaceless/",
"project_urls": {
"Homepage": "https://github.com/richardcornish/django-smartspaceless"
},
"release_url": "https://pypi.org/project/django-smartspaceless/0.1.2/",
"requires_dist": [
"django-htmlmin"
],
"requires_python": "",
"summary": "A Django template tag application for minifying block-level HTML elements only",
"version": "0.1.2"
},
"last_serial": 3029484,
"releases": {
"0.1": [
{
"comment_text": "",
"digests": {
"md5": "f4b667fa1c201fdf1d55e874b372ec2c",
"sha256": "5f1e020cbb15a3adb3491b88dfbaa7cd8ca2fa6d67c085146e70873973716ad9"
},
"downloads": -1,
"filename": "django-smartspaceless-0.1.tar.gz",
"has_sig": false,
"md5_digest": "f4b667fa1c201fdf1d55e874b372ec2c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 857448,
"upload_time": "2016-08-24T04:45:26",
"url": "https://files.pythonhosted.org/packages/67/c4/4d5eb81e3aa675d792fb20130c4f72bac8a7745478c29c07da0117feb77d/django-smartspaceless-0.1.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "3a3ee66a9b643cb60dad9d09db6e8778",
"sha256": "ff0cc431ef6a6a502859af57709a7fb2e4677c10b36cd6d4fa036b44e115e04c"
},
"downloads": -1,
"filename": "django-smartspaceless-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "3a3ee66a9b643cb60dad9d09db6e8778",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3256764,
"upload_time": "2017-04-10T20:46:01",
"url": "https://files.pythonhosted.org/packages/b9/99/7143f385d9bbc54b7cc5fae607a517553231f812a76ab3e8a0b4972db7a0/django-smartspaceless-0.1.1.tar.gz"
}
],
"0.1.2": [
{
"comment_text": "",
"digests": {
"md5": "0fc3c0a0fe2cd069955b51be23f6c768",
"sha256": "7bc695987652a25b10f573d5a8a103fa15f0bb703b26c549b3d12ed4ebed5f71"
},
"downloads": -1,
"filename": "django_smartspaceless-0.1.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "0fc3c0a0fe2cd069955b51be23f6c768",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 6617,
"upload_time": "2017-07-17T19:16:29",
"url": "https://files.pythonhosted.org/packages/2b/c2/c206b8323511a23ead292f5a43e3f5d1efff91d2b64d6fbf69d736108975/django_smartspaceless-0.1.2-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "97dc94488a881383e76395d20a6a6810",
"sha256": "2336382a64be18338591c0f930434f09aabed6ff3995a48ec9e59c3b4ad8c044"
},
"downloads": -1,
"filename": "django-smartspaceless-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "97dc94488a881383e76395d20a6a6810",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3256914,
"upload_time": "2017-07-17T19:17:43",
"url": "https://files.pythonhosted.org/packages/1c/a8/31f8800ddb13f1a2c46d49fb2a5a79aca2bc8e7dfd586210c28c8bf80cab/django-smartspaceless-0.1.2.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "0fc3c0a0fe2cd069955b51be23f6c768",
"sha256": "7bc695987652a25b10f573d5a8a103fa15f0bb703b26c549b3d12ed4ebed5f71"
},
"downloads": -1,
"filename": "django_smartspaceless-0.1.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "0fc3c0a0fe2cd069955b51be23f6c768",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 6617,
"upload_time": "2017-07-17T19:16:29",
"url": "https://files.pythonhosted.org/packages/2b/c2/c206b8323511a23ead292f5a43e3f5d1efff91d2b64d6fbf69d736108975/django_smartspaceless-0.1.2-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "97dc94488a881383e76395d20a6a6810",
"sha256": "2336382a64be18338591c0f930434f09aabed6ff3995a48ec9e59c3b4ad8c044"
},
"downloads": -1,
"filename": "django-smartspaceless-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "97dc94488a881383e76395d20a6a6810",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3256914,
"upload_time": "2017-07-17T19:17:43",
"url": "https://files.pythonhosted.org/packages/1c/a8/31f8800ddb13f1a2c46d49fb2a5a79aca2bc8e7dfd586210c28c8bf80cab/django-smartspaceless-0.1.2.tar.gz"
}
]
}