{ "info": { "author": "Andre Farzat", "author_email": "andrefarzat@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "django-webp\n===========\n\nReturns a webp image instead of jpg, gif or png to browsers which have\nsupport.\n\n|Build Status| |Coverage Status|\n\n\nUsage\n-----\n\nLoad the ``webp`` module in your template and use the ``webp``\ntemplatetag to point to the image you want to convert.\n\n.. code:: html\n\n {% load webp %}\n\n {# Use webp as you would use static templatetag #}\n \"image\"\n \n\nInstallation\n------------\n\nFirst of all, you must install the webp support. In ubuntu you can\ninstall via apt-get:\n\n.. code:: sh\n\n apt-get install libwebp-dev\n\nPlease, check `the official guide`_ for the other systems.\n\nThen, install ``django-webp``.\n\n.. code:: sh\n\n pip install django-webp\n\nadd it to ``INSTALLED_APPS`` configuration\n\n.. code:: python\n\n INSTALLED_APPS = (\n 'django.contrib.staticfiles',\n 'django_webp',\n '...',\n )\n\nadd the django\\_webp context processor\n\n.. code:: python\n\n TEMPLATES = [\n {\n '...'\n 'OPTIONS': {\n 'context_processors': [\n '...',\n 'django_webp.context_processors.webp',\n ],\n },\n },\n ]\n\nPossible problems\n-----------------\n\n``django-webp`` uses ``Pillow`` to convert the images. If you\u2019ve\ninstalled the ``libwebp-dev`` after already installed ``Pillow``, it\u2019s\nnecessary to uninstall and install it back because it needs to be\ncompiled with it.\n\nCleaning the cache\n------------------\n\nYou can clean the cache running:\n\n.. code:: sh\n\n python manage.py clean_webp_images\n\n.. _the official guide: https://developers.google.com/speed/webp/docs/precompiled\n\n.. |Build Status| image:: https://travis-ci.org/andrefarzat/django-webp.png?branch=master\n :target: https://travis-ci.org/andrefarzat/django-webp\n.. |Coverage Status| image:: https://coveralls.io/repos/github/andrefarzat/django-webp/badge.svg?branch=master\n :target: https://coveralls.io/github/andrefarzat/django-webp?branch=master", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/django-webp/", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-webp", "package_url": "https://pypi.org/project/django-webp/", "platform": "", "project_url": "https://pypi.org/project/django-webp/", "project_urls": { "Homepage": "http://pypi.python.org/pypi/django-webp/" }, "release_url": "https://pypi.org/project/django-webp/1.0.11/", "requires_dist": null, "requires_python": "", "summary": "Returns a webp image instead of jpg, gif or png to browsers which have support", "version": "1.0.11" }, "last_serial": 2453473, "releases": { "0.0.1": [], "0.0.2": [ { "comment_text": "", "digests": { "md5": "89cec7627585604ec8a2b5d7e849b2ee", "sha256": "a09c19e3a36ffeb139540cae63fded992333c14d964f28ef9049a141a469b294" }, "downloads": -1, "filename": "django-webp-0.0.2.tar.gz", "has_sig": false, "md5_digest": "89cec7627585604ec8a2b5d7e849b2ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3615, "upload_time": "2014-05-05T06:02:04", "url": "https://files.pythonhosted.org/packages/29/22/87689dfe10b4556e4371adac5978c74fbcb7d06711471ac393a4dacee475/django-webp-0.0.2.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "667d22e9ff63803efae5076f2e7b86fa", "sha256": "5390d68c82d5227dd44525f4bde0203c74e8a22c4efe5943291e4bd49fd5fa31" }, "downloads": -1, "filename": "django-webp-1.0.0.tar.gz", "has_sig": false, "md5_digest": "667d22e9ff63803efae5076f2e7b86fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5086, "upload_time": "2014-05-10T22:25:14", "url": "https://files.pythonhosted.org/packages/3e/d3/d78bc9373eff83a8a39e28c3bc1ea6c5af89fcb3c980eb06a3447dc4c66b/django-webp-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "7e656fa31bb6f0da7b48fbed5b3501cc", "sha256": "6b531b14f0f7b37f29171da3123a1aa0eda903f0c5e3ed7f927c1057599122c7" }, "downloads": -1, "filename": "django-webp-1.0.1.tar.gz", "has_sig": false, "md5_digest": "7e656fa31bb6f0da7b48fbed5b3501cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5082, "upload_time": "2014-05-10T22:38:09", "url": "https://files.pythonhosted.org/packages/09/d4/4936db7376a78721f02e334ce7890f9c4b4a97e1023c13e058ed2a965adc/django-webp-1.0.1.tar.gz" } ], "1.0.10": [ { "comment_text": "", "digests": { "md5": "39426ea421fa8c5f68708bd3a3313739", "sha256": "95ea77f3d50f70d1194133a094f5ae1ea9af2bbd1fc432f097936cf31366d5fb" }, "downloads": -1, "filename": "django-webp-1.0.10.tar.gz", "has_sig": false, "md5_digest": "39426ea421fa8c5f68708bd3a3313739", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 136371, "upload_time": "2016-11-10T17:21:29", "url": "https://files.pythonhosted.org/packages/aa/09/5b34b3936e4276c52b225fe825e772f31d91236b47c2dc79e3fcd1cc5c80/django-webp-1.0.10.tar.gz" } ], "1.0.11": [ { "comment_text": "", "digests": { "md5": "ab5c1d7d57516887acee44e5297337b3", "sha256": "97daf0d3b88ccb808ffe731ee30051ed04736de1f82ec0fd55eccf5e10cab498" }, "downloads": -1, "filename": "django-webp-1.0.11.tar.gz", "has_sig": false, "md5_digest": "ab5c1d7d57516887acee44e5297337b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 136384, "upload_time": "2016-11-10T17:23:23", "url": "https://files.pythonhosted.org/packages/6e/85/dd3681da8d9ffdd6c2c174636b607f5c14222067a3e4db008d3650af0d7a/django-webp-1.0.11.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "b17e79c3e2e335ad4986144eda4675cd", "sha256": "8ad4d4596162a6ced90b4acfe81e7b9582fbf7c33f482b62af26bdd29a1e6722" }, "downloads": -1, "filename": "django-webp-1.0.2.tar.gz", "has_sig": false, "md5_digest": "b17e79c3e2e335ad4986144eda4675cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 135340, "upload_time": "2014-05-10T22:42:14", "url": "https://files.pythonhosted.org/packages/31/8b/e73113384a6ce3bacd8f5d3f548651226292d55e88fee8f7bec23024cd04/django-webp-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "575fa8b739aaf2195087a4f7d785ed94", "sha256": "910a731599339e67fcf26b591d80f7ff04c62381c85025d4e1f6a976930109d8" }, "downloads": -1, "filename": "django-webp-1.0.3.tar.gz", "has_sig": false, "md5_digest": "575fa8b739aaf2195087a4f7d785ed94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 135493, "upload_time": "2016-11-01T10:42:51", "url": "https://files.pythonhosted.org/packages/c0/47/9f7ad439cf7b6f6b58b7900c0d394278df7ee930025e177aabc83a4e3807/django-webp-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "667cfc05b2f9d3d66abf00510994d63e", "sha256": "2fbbf6a8b1505f654bb7dedab31b3d0117ca90a6c67bd51de9b7236426a3c92f" }, "downloads": -1, "filename": "django-webp-1.0.4.tar.gz", "has_sig": false, "md5_digest": "667cfc05b2f9d3d66abf00510994d63e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 135549, "upload_time": "2016-11-09T15:27:13", "url": "https://files.pythonhosted.org/packages/8e/c2/7aee8b854f89cd91202949a2811846d8eb93ef26a22409230747a0e3a597/django-webp-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "c2229618d2451b4aa83a8a3debaf9e60", "sha256": "acca05ef3ab1760918a207248448c1a0964ff32666ce0bf6ae90cb5b006ccb75" }, "downloads": -1, "filename": "django-webp-1.0.5.tar.gz", "has_sig": false, "md5_digest": "c2229618d2451b4aa83a8a3debaf9e60", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 136304, "upload_time": "2016-11-10T16:59:47", "url": "https://files.pythonhosted.org/packages/c4/99/00622c5c48d97285ee962c56df3693c6dd131caefb6c7a15eb74fe447a5a/django-webp-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "4c9d03a94c5712cacb4a739a95bfb269", "sha256": "6a884db74fa3ff5bff7e7bbd56da6d893f6d7ffce37680aa0903eb532a3e6142" }, "downloads": -1, "filename": "django-webp-1.0.6.tar.gz", "has_sig": false, "md5_digest": "4c9d03a94c5712cacb4a739a95bfb269", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 136389, "upload_time": "2016-11-10T17:06:30", "url": "https://files.pythonhosted.org/packages/31/da/6f0e8b38de2e5b6e136acfb501296db0c571c7dfff0a2f304d4a55422a56/django-webp-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "b9e892cdc729726f17c87e9ddfc8282d", "sha256": "391ab02906a08c9845bb85fd1d33cb2b677b36a78ac8e73e319dcc2c1423390c" }, "downloads": -1, "filename": "django-webp-1.0.7.tar.gz", "has_sig": false, "md5_digest": "b9e892cdc729726f17c87e9ddfc8282d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 136106, "upload_time": "2016-11-10T17:07:29", "url": "https://files.pythonhosted.org/packages/68/e1/f4f4d7c32276f3add1b2ef7b8a997692322d4395581665d4d9da7b23ce2f/django-webp-1.0.7.tar.gz" } ], "1.0.8": [ { "comment_text": "", "digests": { "md5": "b79fcb4391b739b205c2f2d303be95fa", "sha256": "c99afcb9904e4c7b0ebb5d42dce50356cd27c19576ec4c851d136d1129926739" }, "downloads": -1, "filename": "django-webp-1.0.8.tar.gz", "has_sig": false, "md5_digest": "b79fcb4391b739b205c2f2d303be95fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 136377, "upload_time": "2016-11-10T17:13:38", "url": "https://files.pythonhosted.org/packages/09/8d/c98d68ac71bd5fc8826dcf18771e1b3ea17538bed78a761172ce0e60c942/django-webp-1.0.8.tar.gz" } ], "1.0.9": [ { "comment_text": "", "digests": { "md5": "a37464bd665a62063b5fd6c446f05f48", "sha256": "fe97f26b94f90c85fcb6d22963400046e6f8f2adcf6da88b5c3923c2d03f3d21" }, "downloads": -1, "filename": "django-webp-1.0.9.tar.gz", "has_sig": false, "md5_digest": "a37464bd665a62063b5fd6c446f05f48", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 136396, "upload_time": "2016-11-10T17:15:51", "url": "https://files.pythonhosted.org/packages/21/83/f6ef714fdd3a824804de69fe94fbb3d4751e2e9b5ee405d2f133c5b84f9c/django-webp-1.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ab5c1d7d57516887acee44e5297337b3", "sha256": "97daf0d3b88ccb808ffe731ee30051ed04736de1f82ec0fd55eccf5e10cab498" }, "downloads": -1, "filename": "django-webp-1.0.11.tar.gz", "has_sig": false, "md5_digest": "ab5c1d7d57516887acee44e5297337b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 136384, "upload_time": "2016-11-10T17:23:23", "url": "https://files.pythonhosted.org/packages/6e/85/dd3681da8d9ffdd6c2c174636b607f5c14222067a3e4db008d3650af0d7a/django-webp-1.0.11.tar.gz" } ] }