{ "info": { "author": "Matthew Tretter", "author_email": "m@tthewwithanm.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "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", "Topic :: Utilities" ], "description": "PILKit is a collection of utilities for working with PIL (the Python Imaging\nLibrary).\n\nOne of its main features is a set of **processors** which expose a simple\ninterface for performing manipulations on PIL images.\n\nLooking for more advanced processors? Check out `Instakit`_!\n\n**For the complete documentation on the latest stable version of PILKit, see**\n`PILKit on RTD`_.\n\n.. image:: https://api.travis-ci.org/matthewwithanm/pilkit.png\n :target: https://travis-ci.org/matthewwithanm/pilkit\n\n.. _`PILKit on RTD`: http://pilkit.readthedocs.org\n.. _`Instakit`: https://github.com/fish2000/instakit\n\n\nInstallation\n============\n\n1. Install `PIL`_ or `Pillow`_.\n2. Run ``pip install pilkit`` (or clone the source and put the pilkit module on\n your path)\n\n.. note:: If you've never seen Pillow before, it considers itself a\n more-frequently updated \"friendly\" fork of PIL that's compatible with\n setuptools. As such, it shares the same namespace as PIL does and is a\n drop-in replacement.\n\n.. _`PIL`: http://pypi.python.org/pypi/PIL\n.. _`Pillow`: http://pypi.python.org/pypi/Pillow\n\n\nUsage Overview\n==============\n\n\nProcessors\n----------\n\nThe \"pilkit.processors\" module contains several classes for processing PIL\nimages, which provide an easy to understand API:\n\n.. code-block:: python\n\n from pilkit.processors import ResizeToFit\n\n img = Image.open('/path/to/my/image.png')\n processor = ResizeToFit(100, 100)\n new_img = processor.process(img)\n\nA few of the included processors are:\n\n* ``ResizeToFit``\n* ``ResizeToFill``\n* ``SmartResize``\n* ``Adjust``\n* ``TrimBorderColor``\n* ``Transpose``\n\nThere's also a ``ProcessorPipeline`` class for executing processors\nsequentially:\n\n.. code-block:: python\n\n from pilkit.processors import ProcessorPipeline, ResizeToFit, Adjust\n\n img = Image.open('/path/to/my/image.png')\n processor = ProcessorPipeline([Adjust(color=0), ResizeToFit(100, 100)])\n new_image = processor.process(img)\n\n\nUtilities\n---------\n\nIn addition to the processors, PILKit contains a few utilities to ease the pain\nof working with PIL. Some examples:\n\n``prepare_image``\n Prepares the image for saving to the provided format by doing some\n common-sense conversions, including preserving transparency and quantizing.\n``save_image``\n Wraps PIL's ``Image.save()`` method in order to gracefully handle PIL's\n \"Suspension not allowed here\" errors, and (optionally) prepares the image\n using ``prepare_image``\n\nUtilities are also included for converting between formats, extensions, and\nmimetypes.\n\n\nCommunity\n=========\n\nPlease use `the GitHub issue tracker `_\nto report bugs. `A mailing list `_\nalso exists to discuss the project and ask questions, as well as the official\n`#imagekit `_ channel on Freenode. (Both of\nthese are shared with the `django-imagekit`_ project\u2014from which PILKit spun\noff.)\n\n.. _`django-imagekit`: https://github.com/jdriscoll/django-imagekit\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/matthewwithanm/pilkit/", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "pilkit", "package_url": "https://pypi.org/project/pilkit/", "platform": "", "project_url": "https://pypi.org/project/pilkit/", "project_urls": { "Homepage": "http://github.com/matthewwithanm/pilkit/" }, "release_url": "https://pypi.org/project/pilkit/2.0/", "requires_dist": null, "requires_python": "", "summary": "A collection of utilities and processors for the Python Imaging Libary.", "version": "2.0" }, "last_serial": 2649382, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "697e314be8c44490234a784db96feba3", "sha256": "1987cb4c2f4b3148319da72b7d58940a0c6b2e56ed14ab5d41e9f1c8cdd6965b" }, "downloads": -1, "filename": "pilkit-0.1.tar.gz", "has_sig": false, "md5_digest": "697e314be8c44490234a784db96feba3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 92708, "upload_time": "2013-02-08T03:49:58", "url": "https://files.pythonhosted.org/packages/24/b1/b91a915a7646e52b462072b841ac5f00a9ae566a503b137d6182d1180a10/pilkit-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "46e68a91a4cde09296b8b9b97475a291", "sha256": "259d553bf74f120fdd8e0a38e77a28b91c83d7627a9a8b4d8dd3abdccb903785" }, "downloads": -1, "filename": "pilkit-0.1.1.tar.gz", "has_sig": false, "md5_digest": "46e68a91a4cde09296b8b9b97475a291", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 92739, "upload_time": "2013-02-10T18:10:51", "url": "https://files.pythonhosted.org/packages/95/d8/320c5e52e3b3b79c3b087c4a9d545a3f65f6c140dfc08304512a4bcdfdec/pilkit-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "cd89a5a9b71634c06c60ce8672a9fb84", "sha256": "cb96341f36bede2ff4ae0b855ccf84571c5b9f8382697816815d79f0017b777e" }, "downloads": -1, "filename": "pilkit-0.1.2.tar.gz", "has_sig": false, "md5_digest": "cd89a5a9b71634c06c60ce8672a9fb84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 93033, "upload_time": "2013-02-13T03:21:12", "url": "https://files.pythonhosted.org/packages/a6/19/3cbde92711f134d7ddf67a6d1b664a2c5bf92201a97bf7251d26a7404291/pilkit-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "3619639cc1d131a004f9ced1cc8379e2", "sha256": "5dde1574808ee031b2009e7952ab74af7e913b4b4c228ca6c1c5c1bfefbf338c" }, "downloads": -1, "filename": "pilkit-0.1.3.tar.gz", "has_sig": false, "md5_digest": "3619639cc1d131a004f9ced1cc8379e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20280, "upload_time": "2013-03-14T03:58:12", "url": "https://files.pythonhosted.org/packages/ba/9f/bb0de13cfcc920a0a61bc8180b92034657c02c3c03c6a0d206eb85707fb5/pilkit-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "079f63eb53b4e4be0e088ae779b7e6a3", "sha256": "004f2415d1fda06d964a751b95854d733e69476aeb9a83ef261069b39c544b10" }, "downloads": -1, "filename": "pilkit-0.1.4.tar.gz", "has_sig": false, "md5_digest": "079f63eb53b4e4be0e088ae779b7e6a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20436, "upload_time": "2013-04-03T05:01:00", "url": "https://files.pythonhosted.org/packages/ed/d6/6cf22ae1c1f9792b9882f5a13982d02c42f9c0c0fb87cff97296c6e7cf20/pilkit-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "6c8fc85621ba1886e2ca7381b2582fd5", "sha256": "aaff91cae473d4567862099ec047887e71e569ffc85c95eac14a03d25d7da148" }, "downloads": -1, "filename": "pilkit-0.1.5.tar.gz", "has_sig": false, "md5_digest": "6c8fc85621ba1886e2ca7381b2582fd5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20471, "upload_time": "2013-04-22T23:45:44", "url": "https://files.pythonhosted.org/packages/ca/15/499d1cb8587aa0bbe22cf6b601e6c8d142ba9e1597aa68f9a8fd5e3b7b1e/pilkit-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "04bbffcbf84daf3f92a253549341d580", "sha256": "7665d3b51c4c51f919ca27cdacf59233a7528e0f41a5c607bf4dcabc41587645" }, "downloads": -1, "filename": "pilkit-0.1.6.tar.gz", "has_sig": false, "md5_digest": "04bbffcbf84daf3f92a253549341d580", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20952, "upload_time": "2013-05-01T03:00:09", "url": "https://files.pythonhosted.org/packages/bb/2b/125b5e1404b67e9dba616647cce0a2b6a61018075972d0bb8dc6da92d8e5/pilkit-0.1.6.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "854c984b21a9367c984b63e017cc0bb0", "sha256": "e2d0358926f1a0a31b057c38b221093027d7b55443a4b86bbf3a31a4ceeb970e" }, "downloads": -1, "filename": "pilkit-0.2.0.tar.gz", "has_sig": false, "md5_digest": "854c984b21a9367c984b63e017cc0bb0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21039, "upload_time": "2013-05-10T02:00:20", "url": "https://files.pythonhosted.org/packages/a8/dc/1df15b17798fe6d8a43e47c0199be19f1e799c160d855f0335137620913a/pilkit-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "b90c9e3a3951497a184de9a53e45ed82", "sha256": "44dba5a108558f1ee000a92ce7084822f3d1dc4c106d0ac655377e05ff33470d" }, "downloads": -1, "filename": "pilkit-0.3.0.tar.gz", "has_sig": false, "md5_digest": "b90c9e3a3951497a184de9a53e45ed82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21113, "upload_time": "2013-05-10T04:22:46", "url": "https://files.pythonhosted.org/packages/3a/e6/74d71ec41be169a7f1d5d0411d6d2c5bdbac2b3de02717a40352322cbd31/pilkit-0.3.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "052abec8168884744784221f3931cea3", "sha256": "cd88d53daba9a35a3304f5f9f6db22cd9e6f07512b3a64128ee2e75a4f5c23b9" }, "downloads": -1, "filename": "pilkit-1.0.0.tar.gz", "has_sig": false, "md5_digest": "052abec8168884744784221f3931cea3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21124, "upload_time": "2013-07-17T02:14:53", "url": "https://files.pythonhosted.org/packages/e6/85/c44af1357eb8c33a5d5ec4bac948aa624ce352ee6635f6bcd0007aea97ee/pilkit-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "a340daed7ee2cc433a250a99d9f2153a", "sha256": "2beaa2b4f2e0f73156078d5557c28254b0617a41925d29c83f8cfff66ac1cf75" }, "downloads": -1, "filename": "pilkit-1.1.0.tar.gz", "has_sig": false, "md5_digest": "a340daed7ee2cc433a250a99d9f2153a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21243, "upload_time": "2013-07-28T01:36:51", "url": "https://files.pythonhosted.org/packages/8a/ca/b353e38199e387b423f946ab8f2f3df84b5afd334b040ccabf5ec05a7908/pilkit-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "6e6af3f2f4311ee03c3a997f858f0c38", "sha256": "fcf7902a59aac526f638bdeefc68437a7258d343a6653168b0deb42dae73cba2" }, "downloads": -1, "filename": "pilkit-1.1.1.tar.gz", "has_sig": false, "md5_digest": "6e6af3f2f4311ee03c3a997f858f0c38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21272, "upload_time": "2013-07-29T04:23:46", "url": "https://files.pythonhosted.org/packages/39/97/81b25454bbc173d59d7d06cbce8a7b0816db8de28d594bd497c695527bef/pilkit-1.1.1.tar.gz" } ], "1.1.10": [ { "comment_text": "", "digests": { "md5": "37e905c7ea3a867da4a47a2d255e73eb", "sha256": "73dfb2558f0f8a04f742ff800b056aa04764e7349d3c9b9af40d714dc69dde42" }, "downloads": -1, "filename": "pilkit-1.1.10.tar.gz", "has_sig": false, "md5_digest": "37e905c7ea3a867da4a47a2d255e73eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 890178, "upload_time": "2014-09-27T20:55:40", "url": "https://files.pythonhosted.org/packages/83/bb/126cce01d358e7b11c5c88a499360c30437debef9a9b6679a0aaab84d458/pilkit-1.1.10.tar.gz" } ], "1.1.11": [ { "comment_text": "", "digests": { "md5": "b282ab4aff413895db17e4afbbacd97b", "sha256": "220a8895d5daf17a035ccabba11226cdfd3de39a064c71f42833be4d1e8ec6ac" }, "downloads": -1, "filename": "pilkit-1.1.11.tar.gz", "has_sig": false, "md5_digest": "b282ab4aff413895db17e4afbbacd97b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20264, "upload_time": "2014-09-27T22:01:45", "url": "https://files.pythonhosted.org/packages/89/71/4e63e271185d96ffb72514e84c6ad8f0e91976bf4ddf2da4fe6c22b2d65f/pilkit-1.1.11.tar.gz" } ], "1.1.12": [ { "comment_text": "", "digests": { "md5": "db659fe027a4c48196bd46ae9263e14b", "sha256": "5f277d1f560f14888f83c54c049afc34b8744a6aa5e2b8bf5b08c40ea01dd528" }, "downloads": -1, "filename": "pilkit-1.1.12.tar.gz", "has_sig": false, "md5_digest": "db659fe027a4c48196bd46ae9263e14b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20337, "upload_time": "2014-09-28T22:39:45", "url": "https://files.pythonhosted.org/packages/f7/5d/3835c78e05c75e9aae3c31d964d72f3dc2614414423c26ceb0f45bdbfbde/pilkit-1.1.12.tar.gz" } ], "1.1.13": [ { "comment_text": "", "digests": { "md5": "dc586362902dcc1110d487d7c8ffd5e4", "sha256": "e5c88386fa549d7d10f00ab96a4c69bf4128dcbfe477f8f4e077f69bffdad529" }, "downloads": -1, "filename": "pilkit-1.1.13.tar.gz", "has_sig": false, "md5_digest": "dc586362902dcc1110d487d7c8ffd5e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 897688, "upload_time": "2015-08-12T19:51:49", "url": "https://files.pythonhosted.org/packages/4b/18/821f73547d4302d246595673cf81757c205299e867cef9876787f932c74e/pilkit-1.1.13.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "ce4dcb4106c7a8f8b15b283c9c942e41", "sha256": "e24f0ad83beca8c1f17afde253ef96317feef05a4e0ab2a9c7cbb1f63c17fe82" }, "downloads": -1, "filename": "pilkit-1.1.2.tar.gz", "has_sig": false, "md5_digest": "ce4dcb4106c7a8f8b15b283c9c942e41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21807, "upload_time": "2013-08-18T15:22:58", "url": "https://files.pythonhosted.org/packages/d0/0b/c7429fe99d8d22e5755aeaa92dd71858b66dd81ffbbca7bdee441eef7376/pilkit-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "9afbd77a6e117ef4c1fdec81767445b2", "sha256": "c3befd1b8eb4a64132b93b296a0414adb53cb90d252637fd38f2190a0303f68a" }, "downloads": -1, "filename": "pilkit-1.1.3.tar.gz", "has_sig": false, "md5_digest": "9afbd77a6e117ef4c1fdec81767445b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21857, "upload_time": "2013-08-19T02:42:21", "url": "https://files.pythonhosted.org/packages/9e/73/c151a20d12b508529b03a5e2925113dfac81f820d0a6db7c6c57c09d2b35/pilkit-1.1.3.tar.gz" } ], "1.1.4": [ { "comment_text": "", "digests": { "md5": "659dd67440f4b576889f2cd350f43d7b", "sha256": "e00585f5466654ea2cdbf7decef9862cb00e16fd363017fa7ef6623a16b0d2c7" }, "downloads": -1, "filename": "pilkit-1.1.4.tar.gz", "has_sig": false, "md5_digest": "659dd67440f4b576889f2cd350f43d7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22045, "upload_time": "2013-08-26T01:42:23", "url": "https://files.pythonhosted.org/packages/10/9e/6c709846b3de85c925715ed13b0913666b92bcf92a6980e6f9b8779ada3f/pilkit-1.1.4.tar.gz" } ], "1.1.5": [ { "comment_text": "", "digests": { "md5": "d46710af7e10211c66ec368df068b270", "sha256": "2b401664fb4f2c806fd3b270a3ebdf4438227ccbcba9937f4584a68c5a7eb2fa" }, "downloads": -1, "filename": "pilkit-1.1.5.tar.gz", "has_sig": false, "md5_digest": "d46710af7e10211c66ec368df068b270", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 873997, "upload_time": "2013-09-24T13:18:11", "url": "https://files.pythonhosted.org/packages/dd/c8/7da6578834ab17678d31ac570558c2b7549aebc35098c549bbcebf347252/pilkit-1.1.5.tar.gz" } ], "1.1.6": [ { "comment_text": "", "digests": { "md5": "dd79ebaa5168d2919084056c2b149053", "sha256": "af5dfbf7bfb6f31373700ed8131bf5f54a9fc3b6a0e98ba791d2a0a422dc736b" }, "downloads": -1, "filename": "pilkit-1.1.6.tar.gz", "has_sig": false, "md5_digest": "dd79ebaa5168d2919084056c2b149053", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 874122, "upload_time": "2013-12-14T15:34:41", "url": "https://files.pythonhosted.org/packages/cd/63/7af220bc357cfbd7c291ab6442b0cfa135682550463fc422a13acb261bf6/pilkit-1.1.6.tar.gz" } ], "1.1.7": [ { "comment_text": "", "digests": { "md5": "ecde645a9f5f4f5447f309bd7e0c9134", "sha256": "b3e7d9b17ce5afa3856c44c1f196769cddc2b3c611cba011e128de3ff2e6c4ef" }, "downloads": -1, "filename": "pilkit-1.1.7.tar.gz", "has_sig": false, "md5_digest": "ecde645a9f5f4f5447f309bd7e0c9134", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 874204, "upload_time": "2014-05-09T13:26:19", "url": "https://files.pythonhosted.org/packages/87/8d/8e002dacf6dd9004479a0887f0c43f909be03142c21c414e0f8944251320/pilkit-1.1.7.tar.gz" } ], "1.1.8": [ { "comment_text": "", "digests": { "md5": "d0aec1f8d3c3deaeac9d8ded6c98d928", "sha256": "56e89ca7ab931c3945821e7e902194b380ee9293024b27072bbb9850d923528a" }, "downloads": -1, "filename": "pilkit-1.1.8.tar.gz", "has_sig": false, "md5_digest": "d0aec1f8d3c3deaeac9d8ded6c98d928", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 874197, "upload_time": "2014-05-12T17:52:22", "url": "https://files.pythonhosted.org/packages/98/89/f73b364dbd3b2c4448b818f34acf2950a5aa6e3ed859bf7025c87bb80e6c/pilkit-1.1.8.tar.gz" } ], "1.1.9": [ { "comment_text": "", "digests": { "md5": "5166e857c1f04a4dcf4d949409b46b4e", "sha256": "5d1d749bbd3a53591fd868d5d9185350fe60814f5a3e8cf3052f4a0c60d2654a" }, "downloads": -1, "filename": "pilkit-1.1.9.tar.gz", "has_sig": false, "md5_digest": "5166e857c1f04a4dcf4d949409b46b4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 874204, "upload_time": "2014-05-20T13:22:51", "url": "https://files.pythonhosted.org/packages/84/24/6474dc7f96cadc757ad8a9d415ad6a622f03229ab235527aaa21173ebaf3/pilkit-1.1.9.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "1b187cddbaaec56c4797679949de44ee", "sha256": "ddb30c2f0198a147e56b151476c3bb9fe045fbfd5b0a0fa2a3148dba62d1559f" }, "downloads": -1, "filename": "pilkit-2.0.tar.gz", "has_sig": false, "md5_digest": "1b187cddbaaec56c4797679949de44ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 161137, "upload_time": "2017-02-17T12:08:04", "url": "https://files.pythonhosted.org/packages/c4/5c/318d9c20f309e6a79ea4d4605f86597d05f3e007d3d1925ff02474808659/pilkit-2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1b187cddbaaec56c4797679949de44ee", "sha256": "ddb30c2f0198a147e56b151476c3bb9fe045fbfd5b0a0fa2a3148dba62d1559f" }, "downloads": -1, "filename": "pilkit-2.0.tar.gz", "has_sig": false, "md5_digest": "1b187cddbaaec56c4797679949de44ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 161137, "upload_time": "2017-02-17T12:08:04", "url": "https://files.pythonhosted.org/packages/c4/5c/318d9c20f309e6a79ea4d4605f86597d05f3e007d3d1925ff02474808659/pilkit-2.0.tar.gz" } ] }