{ "info": { "author": "Deniz Dogan", "author_email": "denizdogan@users.noreply.github.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Framework :: Django :: 1.11", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Framework :: Django :: 2.2", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# django-whiteless\n\nDjango template tags which deal with pesky whitespaces!\n\n[![CircleCI](https://circleci.com/gh/denizdogan/django-whiteless/tree/master.svg?style=svg)](https://circleci.com/gh/denizdogan/django-whiteless/tree/master)\n\n## Installation\n\nInstall the latest version from PyPI:\n\n```bash\n$ pip install django-whiteless\n```\n\nAdd `\"whiteless\"` to `INSTALLED_APPS`:\n\n```python\nINSTALLED_APPS = (\n # ...\n \"whiteless\",\n)\n```\n\n## Usage\n\nThe library consists of two template tags, `{% whiteless %}` and `{% eof %}`.\nThis is how you use them.\n\n### Remove all whitespaces\n\n```djangotemplate\n{% whiteless %}\n ...\n{% endwhiteless %}\n```\n\n### Remove leading whitespaces\n\n```djangotemplate\n{% whiteless leading %}\n ...\n{% endwhiteless %}\n```\n\n### Remove trailing whitespaces\n\n```djangotemplate\n{% whiteless trailing %}\n ...\n{% endwhiteless %}\n```\n\n### Remove leading and trailing whitespaces\n\n```djangotemplate\n{% whiteless leading trailing %}\n ...\n{% endwhiteless %}\n```\n\n### Replace whitespaces with a single space\n\n```djangotemplate\n{% whiteless space %}\n ...\n{% endwhiteless %}\n```\n\nNote that if there are leading or trailing whitespaces in the block, those will\nalso be replaced by a single space. In order to remove leading and trailing\nwhitespaces and replace all other whitespaces with a single space, use:\n\n```djangotemplate\n{% whiteless space leading trailing %}\n ...\n{% endwhiteless %}\n```\n\n### Remove trailing whitespaces at end of file\n\n```djangotemplate\nHello there!{% eof %}\n```\n\nThis is useful if e.g. your project style guide requires all files to end with\na newline but that causes issues with your template.\n\nNote that `{% eof %}` cannot be used inside other tags. It only removes\nwhitespaces that immediately follow itself.\n\n## License\n\n[MIT](LICENSE)\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/denizdogan/django-whiteless", "keywords": "django,whitespace,template,tag", "license": "MIT", "maintainer": "Deniz Dogan", "maintainer_email": "denizdogan@users.noreply.github.com", "name": "django-whiteless", "package_url": "https://pypi.org/project/django-whiteless/", "platform": "", "project_url": "https://pypi.org/project/django-whiteless/", "project_urls": { "Documentation": "https://github.com/denizdogan/django-whiteless", "Homepage": "https://github.com/denizdogan/django-whiteless", "Repository": "https://github.com/denizdogan/django-whiteless.git" }, "release_url": "https://pypi.org/project/django-whiteless/0.1.3/", "requires_dist": [ "Django (>=1.11,<2.0); python_version >= \"2.7\" and python_version < \"2.8\"", "Django (>=2.0,<3.0); python_version >= \"3.5\" and python_version < \"4.0\"" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "summary": "Django template tags for dealing with pesky whitespaces", "version": "0.1.3" }, "last_serial": 5255483, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6d44d32200da61f0beb5cb762cad480f", "sha256": "8a89584e5a4020491a45be4f772a8a087b3225f0c046a059862d618661ea454e" }, "downloads": -1, "filename": "django_whiteless-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "6d44d32200da61f0beb5cb762cad480f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 7475, "upload_time": "2019-04-12T22:46:57", "url": "https://files.pythonhosted.org/packages/51/4b/80fc385c1bfdbcb5b167e1df705b0cbd985f0ebdd32543a21bba4362ceca/django_whiteless-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8ab11af020d77b7b92fcd26d01898d8f", "sha256": "431a6a592004c4f849795a3c9ca9a918e966159a1640b73fb8bb25d10a056b2a" }, "downloads": -1, "filename": "django-whiteless-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8ab11af020d77b7b92fcd26d01898d8f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 7021, "upload_time": "2019-04-12T22:46:55", "url": "https://files.pythonhosted.org/packages/5a/18/501999a61931bee6e9d2f0737cadf080165148c9c674f1e7903f96b4c7cb/django-whiteless-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "a6ad7ead5424c54b386febcf9f2d2458", "sha256": "c533a72c718c42c34e821620e74088090b3cc435f6e5114dd53538078cc8bc21" }, "downloads": -1, "filename": "django_whiteless-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a6ad7ead5424c54b386febcf9f2d2458", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 3676, "upload_time": "2019-04-12T22:54:40", "url": "https://files.pythonhosted.org/packages/4f/db/a572fe04e4ea4dda942e4b15113dda817067f9bd739d3b7d5417e106e2f5/django_whiteless-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8eef7a93a6e40a76a07758f81197e8fb", "sha256": "d9f77a072a4275220990a37d61bfd89ec58b2669170f31d758b823afbe1fd368" }, "downloads": -1, "filename": "django-whiteless-0.1.1.tar.gz", "has_sig": false, "md5_digest": "8eef7a93a6e40a76a07758f81197e8fb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 3286, "upload_time": "2019-04-12T22:54:38", "url": "https://files.pythonhosted.org/packages/75/62/b2ab0e1f8528a21767a6f89ed23a395ce8120844f1cd9508c3a027eaa2a7/django-whiteless-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "4e9fea22e24698953119acdd80e9a024", "sha256": "1fc3b1c75bcf06ca9655f9fd659ce4a26efa8bc0c1fb4b21509f63602040492c" }, "downloads": -1, "filename": "django_whiteless-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4e9fea22e24698953119acdd80e9a024", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 5022, "upload_time": "2019-04-12T23:01:22", "url": "https://files.pythonhosted.org/packages/dd/4b/8395c287c05fbdc046f6864b6ac8e475119758bda11a948f286315759a36/django_whiteless-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5d32301f5388401bdbd76ce929a9a8be", "sha256": "a4ea4fb5db509e4521fa5fc073a4319cba979d156c3a39157e816c0e1e8ab144" }, "downloads": -1, "filename": "django-whiteless-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5d32301f5388401bdbd76ce929a9a8be", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 4104, "upload_time": "2019-04-12T23:01:20", "url": "https://files.pythonhosted.org/packages/ad/ef/75e458861d0f0eda50cb644df7da774fadbea7561e82addcd911751bb450/django-whiteless-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "6c49d69d8a7a8aa0dd883cd388c33749", "sha256": "06f5168201057d43f12f17851026e5e637db69e6e9d10a3c13d542cecbf3d29d" }, "downloads": -1, "filename": "django_whiteless-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6c49d69d8a7a8aa0dd883cd388c33749", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 5376, "upload_time": "2019-05-11T08:39:54", "url": "https://files.pythonhosted.org/packages/bc/a8/93cacce1c4c52d0a37e65832721a3264577eb9591cd74bbe39d979327404/django_whiteless-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fe206d0095f6b8887554a50b97811a6f", "sha256": "70cd57a771075d4467fbab0fc9e45db7f096a6614a5e7c58a80f78586b902326" }, "downloads": -1, "filename": "django-whiteless-0.1.3.tar.gz", "has_sig": false, "md5_digest": "fe206d0095f6b8887554a50b97811a6f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 4539, "upload_time": "2019-05-11T08:39:52", "url": "https://files.pythonhosted.org/packages/3c/80/a706d88c47f1a1bcc8ee4f4e9513c1f903ef2f7611bea246b7c11043fea7/django-whiteless-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6c49d69d8a7a8aa0dd883cd388c33749", "sha256": "06f5168201057d43f12f17851026e5e637db69e6e9d10a3c13d542cecbf3d29d" }, "downloads": -1, "filename": "django_whiteless-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6c49d69d8a7a8aa0dd883cd388c33749", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 5376, "upload_time": "2019-05-11T08:39:54", "url": "https://files.pythonhosted.org/packages/bc/a8/93cacce1c4c52d0a37e65832721a3264577eb9591cd74bbe39d979327404/django_whiteless-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fe206d0095f6b8887554a50b97811a6f", "sha256": "70cd57a771075d4467fbab0fc9e45db7f096a6614a5e7c58a80f78586b902326" }, "downloads": -1, "filename": "django-whiteless-0.1.3.tar.gz", "has_sig": false, "md5_digest": "fe206d0095f6b8887554a50b97811a6f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 4539, "upload_time": "2019-05-11T08:39:52", "url": "https://files.pythonhosted.org/packages/3c/80/a706d88c47f1a1bcc8ee4f4e9513c1f903ef2f7611bea246b7c11043fea7/django-whiteless-0.1.3.tar.gz" } ] }