{ "info": { "author": "Lotr\u00e8k", "author_email": "dimmitutto@lotrek.it", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 3" ], "description": "PyPiuma\n=======\n\n|Latest Version| |CI| |codecov| |License: MIT|\n\nA library to use Piuma with Python and Django\n\nInstall\n-------\n\n::\n\n pip install pypiuma\n\nUsage\n-----\n\n.. code:: py\n\n from pypiuma import piuma_url\n\n piuma_url(\"http://mypiumahost\", \"http://myimagehost/static/img/a.png\", 200, 200, 80)\n\nUsage with Django\n-----------------\n\n.. code:: html\n\n {% load pypiuma_tags %}\n\n \n \n\nPicture tags\n------------\n\n.. code:: html\n\n {% load pypiuma_tags %}\n\n {% piuma_picture 'http://myimagehost/static/img/a.png'%}\n {% piuma_picture_static 'img/a.png' %}\n\nSettings\n--------\n\nPIUMA_DISABLED\n~~~~~~~~~~~~~~\n\nDisable Piuma core, useful in development.\n\nDefault: ``False``\n\nPIUMA_HOST\n~~~~~~~~~~\n\nThe host of your Piuma instance.\n\nDefault: ``/piuma/``\n\nPIUMA_MEDIA_RULES\n~~~~~~~~~~~~~~~~~\n\nMedia rules for picture tags.\n\nDefault:\n``(max-width: 576px),(max-width: 768px),(max-width: 992px),(max-width: 1366px)``\n\nPIUMA_SIZES\n-----------\n\nFast configurations for your images. These can be handy if you want to\ndefine different sizes like ``small``, ``medium``, ``full`` to serve the\nbest optimized version of the image for your needs. The ``*`` size, if\ndefined, is applied to all images imported with a tag that do not\nspecify a size.\n\nDefault: ``{}``\n\nExample:\n\n.. code:: python\n\n {\n \"*\": {\n \"convert_to\": \"auto\",\n \"quality\": 80\n },\n \"small\": {\n \"width\": 300,\n \"convert_to\": \"auto\",\n \"quality\": 80\n },\n \"medium\": {\n \"width\": 500,\n \"convert_to\": \"auto\",\n \"quality\": 80\n },\n \"large\": {\n \"width\": 1000,\n \"convert_to\": \"auto\",\n \"quality\": 80\n }\n }\n\nRun tests\n---------\n\n::\n\n pip install -r requirements-dev.txt\n make test\n\n.. |Latest Version| image:: https://img.shields.io/pypi/v/pypiuma.svg\n :target: https://pypi.python.org/pypi/pypiuma/\n.. |CI| image:: https://github.com/piumaio/pypiuma/actions/workflows/ci.yml/badge.svg\n :target: https://github.com/piumaio/pypiuma\n.. |codecov| image:: https://codecov.io/gh/piumaio/pypiuma/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/piumaio/pypiuma\n.. |License: MIT| image:: https://img.shields.io/badge/License-MIT-blue.svg\n :target: https://github.com/piumaio/pypiuma/blob/master/LICENSE\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/piumaio", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pypiuma", "package_url": "https://pypi.org/project/pypiuma/", "platform": null, "project_url": "https://pypi.org/project/pypiuma/", "project_urls": { "Homepage": "https://github.com/piumaio" }, "release_url": "https://pypi.org/project/pypiuma/1.1.6/", "requires_dist": null, "requires_python": "", "summary": "Piuma Python library with Django support", "version": "1.1.6", "yanked": false, "yanked_reason": null }, "last_serial": 13760792, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "25ae353ca0a8bc2b45dfb0a2efcaa2ec", "sha256": "b1035860262e7e2f692fb9ebdd99a2a0ba492d46141197e66e37243e9f20b094" }, "downloads": -1, "filename": "pypiuma-0.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "25ae353ca0a8bc2b45dfb0a2efcaa2ec", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3328, "upload_time": "2019-10-08T10:02:38", "upload_time_iso_8601": "2019-10-08T10:02:38.588254Z", "url": "https://files.pythonhosted.org/packages/37/e4/45a6fdd4d532058f3c98ab1b75e597b616ded368ed080ed051b318a956cd/pypiuma-0.0.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "4389bd2532c91d6e0f2c5a6208158968", "sha256": "746878b98e7021ded5f40b753e18ca551bcd767dbf93de200efdf32b67e8c60c" }, "downloads": -1, "filename": "pypiuma-0.0.0.tar.gz", "has_sig": false, "md5_digest": "4389bd2532c91d6e0f2c5a6208158968", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1631, "upload_time": "2019-10-08T10:02:41", "upload_time_iso_8601": "2019-10-08T10:02:41.386780Z", "url": "https://files.pythonhosted.org/packages/55/1c/b551e37020f61822827efbd23363c75d29f1ca3ea5bf67d02d557aea3ff6/pypiuma-0.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "fbaecf41411c184bc378a8e8a4bdb9a9", "sha256": "35dd94fe316761032d458fe189389f53d48976feb67bfe882e8f6a55f7245d9e" }, "downloads": -1, "filename": "pypiuma-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "fbaecf41411c184bc378a8e8a4bdb9a9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3327, "upload_time": "2019-10-08T10:13:18", "upload_time_iso_8601": "2019-10-08T10:13:18.282872Z", "url": "https://files.pythonhosted.org/packages/25/84/cd751ff3f804ab0f8c1e395ec1661df890b8d91619041009b6dfa24cc16f/pypiuma-0.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "39b02f809c92f0cc31c6e1ef96c5f100", "sha256": "fd612aa7ea0dda3e2875060e5fbf5838988517706becf18d2624ef8d3506bac5" }, "downloads": -1, "filename": "pypiuma-0.0.1.tar.gz", "has_sig": false, "md5_digest": "39b02f809c92f0cc31c6e1ef96c5f100", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1632, "upload_time": "2019-10-08T10:13:19", "upload_time_iso_8601": "2019-10-08T10:13:19.643335Z", "url": "https://files.pythonhosted.org/packages/a4/16/5f38d2ca8ce132e9bf1f55738151f23fed6820ddc1d6ac27dd9667e38041/pypiuma-0.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "962786cf423feb82254fcae73e5c88cf", "sha256": "5787aeb2ad9a7f90987fc59000528e702501534d2531696251e09fc661cb3b6c" }, "downloads": -1, "filename": "pypiuma-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "962786cf423feb82254fcae73e5c88cf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3337, "upload_time": "2019-10-08T10:18:17", "upload_time_iso_8601": "2019-10-08T10:18:17.546781Z", "url": "https://files.pythonhosted.org/packages/2a/fb/8a0fca69491a4f98c98ddcf31cd71b34f86eb551d8a508a597f462497e24/pypiuma-0.0.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "efb344047906a65e8fe6c68ce7f025c2", "sha256": "335820fac932166d97f46243ecf7070982d6689bcfb5b240e93fe7038b17d012" }, "downloads": -1, "filename": "pypiuma-0.0.2.tar.gz", "has_sig": false, "md5_digest": "efb344047906a65e8fe6c68ce7f025c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1643, "upload_time": "2019-10-08T10:18:19", "upload_time_iso_8601": "2019-10-08T10:18:19.430013Z", "url": "https://files.pythonhosted.org/packages/26/3e/7f96bd2d2bba4a769d42583fd3287d5c31a5e390e1b34eabea24cb370375/pypiuma-0.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "eee670ca42594ff156850f8eb36613cf", "sha256": "db3e4c8d756a8ab0fbcd0a0c8bf38dd52bfa5cbf59dfcf992fbd1e3a24bb3f7e" }, "downloads": -1, "filename": "pypiuma-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "eee670ca42594ff156850f8eb36613cf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4284, "upload_time": "2019-10-19T14:44:21", "upload_time_iso_8601": "2019-10-19T14:44:21.991409Z", "url": "https://files.pythonhosted.org/packages/d0/89/c9962c5030844ef76e3cc7a0cd41c21aaa2949bc93c268a032a206776721/pypiuma-1.0.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "33fa90e614700e9a2cd794a54f018a7e", "sha256": "959c142409061013e74db8475c84d171297f9b89761b0fc666e0397e05f7f382" }, "downloads": -1, "filename": "pypiuma-1.0.0.tar.gz", "has_sig": false, "md5_digest": "33fa90e614700e9a2cd794a54f018a7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2157, "upload_time": "2019-10-19T14:44:23", "upload_time_iso_8601": "2019-10-19T14:44:23.660394Z", "url": "https://files.pythonhosted.org/packages/c3/bd/d3a57bd20aa68f05a1d297ba980a84464680728b77e0afcde91a4480a249/pypiuma-1.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "0350a21cdf697cc6680165065d73a554", "sha256": "9e945533a65eb3a14ca81957cc07a62032fb3edca6c8ccb145b3cdb2f2e3c884" }, "downloads": -1, "filename": "pypiuma-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "0350a21cdf697cc6680165065d73a554", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5744, "upload_time": "2019-10-23T15:09:05", "upload_time_iso_8601": "2019-10-23T15:09:05.064694Z", "url": "https://files.pythonhosted.org/packages/d6/97/a7e8f19705553d8a4437d71743304ad936e46ee59f948a3ae9ff12e6c355/pypiuma-1.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "55f8ab4c414dd37a29a9f02885a7a934", "sha256": "c7881ca65f0a7b5101fbd8f1d3ab1ded77203f9967be5ad02069a0124620c8fe" }, "downloads": -1, "filename": "pypiuma-1.0.1.tar.gz", "has_sig": false, "md5_digest": "55f8ab4c414dd37a29a9f02885a7a934", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3229, "upload_time": "2019-10-23T15:09:07", "upload_time_iso_8601": "2019-10-23T15:09:07.179517Z", "url": "https://files.pythonhosted.org/packages/8a/be/1564fa2cc9672572a173f8a331ef9ef914ca80d40d44501a1afda9ca4afc/pypiuma-1.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "8659dec35bab863f272d68a145aa8b81", "sha256": "2e0d5ed769aa1a38620f83ce8e3a1e503476384f0c284ad9e32b4d6c0bf525af" }, "downloads": -1, "filename": "pypiuma-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "8659dec35bab863f272d68a145aa8b81", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5751, "upload_time": "2020-01-20T14:33:04", "upload_time_iso_8601": "2020-01-20T14:33:04.314728Z", "url": "https://files.pythonhosted.org/packages/f9/d1/e56113c2ac335cd3cd894ccac8da5912882bfcbe7afe77e48e45aeee4993/pypiuma-1.0.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "8ad3a7863e69179d981eb95b39774032", "sha256": "1732c88e7c60ccd66647a5c7200e0e7727e2f36eac92fb774178a7e3f1f4f641" }, "downloads": -1, "filename": "pypiuma-1.0.2.tar.gz", "has_sig": false, "md5_digest": "8ad3a7863e69179d981eb95b39774032", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3258, "upload_time": "2020-01-20T14:33:05", "upload_time_iso_8601": "2020-01-20T14:33:05.995177Z", "url": "https://files.pythonhosted.org/packages/fb/fc/24f8395816999867188c8b8b062ee1547b65cb36426a86134c43a6f226c0/pypiuma-1.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "352665db2e24d2b520c0809c4a754801", "sha256": "8d453361e81a8856c33769fef8c3ebcbc9a427d191e38a649497895f35bbcc9a" }, "downloads": -1, "filename": "pypiuma-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "352665db2e24d2b520c0809c4a754801", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5295, "upload_time": "2021-12-28T12:27:59", "upload_time_iso_8601": "2021-12-28T12:27:59.662397Z", "url": "https://files.pythonhosted.org/packages/58/be/5fd483f8f6e50035fd9f1eca6eee68d210a17b8ee76806057eab54ed1bf6/pypiuma-1.1.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "ae132a9bbbe0fc238523ac3c3d1e0082", "sha256": "f5a7d9128cee7c0214b93bcce68968e508c5182d0538dfd574d2a0c14567f8a1" }, "downloads": -1, "filename": "pypiuma-1.1.0.tar.gz", "has_sig": false, "md5_digest": "ae132a9bbbe0fc238523ac3c3d1e0082", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4550, "upload_time": "2021-12-28T12:28:01", "upload_time_iso_8601": "2021-12-28T12:28:01.637634Z", "url": "https://files.pythonhosted.org/packages/72/90/8ca5b599ac87696a0fd68b18e559344c3e44e6ee1f35825ecb0511fcd9e5/pypiuma-1.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.1.4": [ { "comment_text": "", "digests": { "md5": "acb3ac4c9bc2c36e29c1b8f119effa38", "sha256": "2c4832efac8326de2c448e42be91056b051bce1f2e4ac72a4480e6557878cad8" }, "downloads": -1, "filename": "pypiuma-1.1.4.tar.gz", "has_sig": false, "md5_digest": "acb3ac4c9bc2c36e29c1b8f119effa38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5742, "upload_time": "2022-05-08T17:28:26", "upload_time_iso_8601": "2022-05-08T17:28:26.674884Z", "url": "https://files.pythonhosted.org/packages/15/bc/2ab96f4bc2fd43b70bdf9f6c276ef1f75bbbcfbe3d9b0a47c589ef8b5677/pypiuma-1.1.4.tar.gz", "yanked": false, "yanked_reason": null } ], "1.1.5": [ { "comment_text": "", "digests": { "md5": "0a4d50a829cd8721062db66407fc0593", "sha256": "fbc078a690cfced6e4f52e78d2af02c770acdde29843e2eb256959632ab6e90a" }, "downloads": -1, "filename": "pypiuma-1.1.5.tar.gz", "has_sig": false, "md5_digest": "0a4d50a829cd8721062db66407fc0593", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5769, "upload_time": "2022-05-09T15:41:33", "upload_time_iso_8601": "2022-05-09T15:41:33.117646Z", "url": "https://files.pythonhosted.org/packages/66/2a/2250d32b5b152b3c40133be47c8af68c1b1dacc9ca49960c952820447bf7/pypiuma-1.1.5.tar.gz", "yanked": false, "yanked_reason": null } ], "1.1.6": [ { "comment_text": "", "digests": { "md5": "0d5290caabb363d1c3fe9b71a505b43e", "sha256": "737525f137eccd2ce6b9f960f1985146e0fbb65d94d431f879660afc6871eff2" }, "downloads": -1, "filename": "pypiuma-1.1.6.tar.gz", "has_sig": false, "md5_digest": "0d5290caabb363d1c3fe9b71a505b43e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5751, "upload_time": "2022-05-09T16:21:17", "upload_time_iso_8601": "2022-05-09T16:21:17.975691Z", "url": "https://files.pythonhosted.org/packages/ec/20/bad94f25aa8d71d87216a820104063949781cc3d327221241a22ca5d8dcd/pypiuma-1.1.6.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0d5290caabb363d1c3fe9b71a505b43e", "sha256": "737525f137eccd2ce6b9f960f1985146e0fbb65d94d431f879660afc6871eff2" }, "downloads": -1, "filename": "pypiuma-1.1.6.tar.gz", "has_sig": false, "md5_digest": "0d5290caabb363d1c3fe9b71a505b43e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5751, "upload_time": "2022-05-09T16:21:17", "upload_time_iso_8601": "2022-05-09T16:21:17.975691Z", "url": "https://files.pythonhosted.org/packages/ec/20/bad94f25aa8d71d87216a820104063949781cc3d327221241a22ca5d8dcd/pypiuma-1.1.6.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }