{
"info": {
"author": "Alexander Sapronov",
"author_email": "a@sapronov.me",
"bugtrack_url": null,
"classifiers": [
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules"
],
"description": "django-remdow\n=============\n\nSimple Django app for static files (img files):\n\n- Download external images\n- To center images\n- Lazy load images\n\nInstall\n=======\n\n```python\npip install django_remdow\n```\n\nAdd `'django_remdow',` to `INSTALLED_APPS`:\n\n```python\nINSTALLED_APPS = [\n ...\n 'django_remdow',\n ...\n]\n```\n\n\nUsage\n=====\n\nremdow app contains different filters and tags. You can activate them with line in your template:\n\n\n```python\n# example.html\n\n{% load remdow %}\n```\n\n\nDownload external images\n------------------------\n\nIf you have model with HTML content which contains external images, you can download external images to local folder and receive static with help `nginx`:\n\nUse filter `img_local`:\n\n```python\n{{ '
'|img_local }}\n```\n\nThis filter parse HTML code, finds `img` tag, parses urls and then downloads image to local folder, and finally, replaces img url to local url.\n\nLazy images\n-----------\n\nYou can use `layzr.js` for lazy loading images.\n\nLoad lazy script:\n\n```python\n{% lazy_script_include %}\n```\n\nAnd use filter `img_lazy`:\n\n```python\n{{ '
'|img_lazy }}\n```\n\n\nCenter images with `Bootstrap`\n------------------------------\n\nFilter `img_center` centers all images\n\n```python\n{{ '
'|img_center }}\n```\n\nFilter adds class `center-block` to all img tags\n\n\nImage responsive with `Bootstrap`\n---------------------------------\n\nFilter `img-responsive` responsives all images\n\n```python\n{{ '
'|img_responsive }}\n```\n\nFilter adds class `img-responsive` to all img tags",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/WarmongeR1/django-remdow",
"keywords": "django,static,templatetags,downloader",
"license": "MIT",
"maintainer": null,
"maintainer_email": null,
"name": "django-remdow",
"package_url": "https://pypi.org/project/django-remdow/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/django-remdow/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/WarmongeR1/django-remdow"
},
"release_url": "https://pypi.org/project/django-remdow/0.0.6/",
"requires_dist": null,
"requires_python": null,
"summary": "Simple Django app for manipulating static files (img files)",
"version": "0.0.6"
},
"last_serial": 2125396,
"releases": {
"0.0.5": [
{
"comment_text": "",
"digests": {
"md5": "48f150b0326637f846e4e5885d3095d7",
"sha256": "f7913ba883b33289eb5837ffdce965845d56b4776da99bb97264fa2d0061a64c"
},
"downloads": -1,
"filename": "django-remdow-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "48f150b0326637f846e4e5885d3095d7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4370,
"upload_time": "2016-04-28T16:40:53",
"url": "https://files.pythonhosted.org/packages/86/55/884cca6fed72c2920a7af03ac623875b526a293a4bdd87d3c6e8a67f323b/django-remdow-0.0.5.tar.gz"
}
],
"0.0.6": [
{
"comment_text": "",
"digests": {
"md5": "7567538c38c58b3729bd382d3d046cdf",
"sha256": "7fa2f9c184db8739bf09aaa55e57afafa08c3d30dac3f752ab0cb2ba94761e9a"
},
"downloads": -1,
"filename": "django-remdow-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "7567538c38c58b3729bd382d3d046cdf",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4394,
"upload_time": "2016-05-20T13:28:42",
"url": "https://files.pythonhosted.org/packages/4d/ee/dae8200976928c49db2824a85f92ece63bcbab379132f761a3bd86700dfa/django-remdow-0.0.6.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "7567538c38c58b3729bd382d3d046cdf",
"sha256": "7fa2f9c184db8739bf09aaa55e57afafa08c3d30dac3f752ab0cb2ba94761e9a"
},
"downloads": -1,
"filename": "django-remdow-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "7567538c38c58b3729bd382d3d046cdf",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4394,
"upload_time": "2016-05-20T13:28:42",
"url": "https://files.pythonhosted.org/packages/4d/ee/dae8200976928c49db2824a85f92ece63bcbab379132f761a3bd86700dfa/django-remdow-0.0.6.tar.gz"
}
]
}