{ "info": { "author": "Simon Walker", "author_email": "s.r.walker101@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# PNG Renderer\n\nFor constructing a zip file of png images. I created this package as I had many plots associated from the output of a plotting script and wanted to keep them together. Similar to `matplotlib.backends.PdfPages` I wanted to associate the images, but using the `png` format, so I chose to zip the collection of images. I wanted png images as they contained large amounts of data which created extremely large pdf files.\n\n## Example usage\n\n``` python\nimport matplotlib.pyplot as plt\nfrom pngrenderer import PNGRenderer\n\nfig = plt.figure()\n\nplt.plot(...)\n\n# Save the resulting image(s) to \"out.zip\"\nrenderer = PNGRenderer(\"out\")\n\n# Save the first png image\nrenderer.savefig(\"first.png\")\n\n# Alternatively call .save_page\n# renderer.save_page(\"first.png\")\n\n# Render the zip file to disk\nrenderer.render()\n\n# Alternatively use the context manager\nfrom pngrenderer import png_render\n\nwith png_render(\"out\") as renderer:\n renderer.savefig()\n\n# The context manager calls the `render` method\n```\n\n\n## Requirements and installation\n\nThis package requires matplotlib, but no other packages\n\nInstallation: `pip install git+https://github.com/mindriot101/pngrenderer.git`\n\nIf this package ever makes it onto pypi then probably the installation will be `pip install matplotlib-pngrenderer`.\n\n## Contributing\n\nTo contribute, clone the repository at [this github link](https://github.com/mindriot101/matplotlib-pngrenderer), and run the tests with `python setup.py test`", "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/mindriot101/matplotlib-pngrenderer", "keywords": null, "license": "The MIT License (MIT)\n\nCopyright (c) 2013 Simon Walker\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "pngrenderer", "package_url": "https://pypi.org/project/pngrenderer/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pngrenderer/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mindriot101/matplotlib-pngrenderer" }, "release_url": "https://pypi.org/project/pngrenderer/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Render matplotlib png images to a zip file", "version": "0.1.2" }, "last_serial": 936280, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f5540cc9212caa9e71c9b632864f3d44", "sha256": "71ffeefe0380b82cba799181fcf341a9bee3611f66ac9f534a99bce6ce64c411" }, "downloads": -1, "filename": "pngrenderer-0.1.0-py27-none-any.whl", "has_sig": false, "md5_digest": "f5540cc9212caa9e71c9b632864f3d44", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5456, "upload_time": "2013-12-04T23:13:17", "url": "https://files.pythonhosted.org/packages/db/f4/be3f7337bb8cade82e12dc91bffe45f02b70bdb543c8ef68b757e002c0e0/pngrenderer-0.1.0-py27-none-any.whl" }, { "comment_text": "", "digests": { "md5": "72e0625db6a7a33fb785936c1f7f89dd", "sha256": "6353d9a95c9e1a447b99e25e5153c7aa57837552a5051db2b408eb1d315dd41f" }, "downloads": -1, "filename": "pngrenderer-0.1.0.tar.gz", "has_sig": false, "md5_digest": "72e0625db6a7a33fb785936c1f7f89dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2836, "upload_time": "2013-12-04T23:13:13", "url": "https://files.pythonhosted.org/packages/11/64/fa0a479598cd9b70a17d5d7335e7b073aa72d58bf535092b0c7f400e9aed/pngrenderer-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "746426f2c394bf1c8ad2bea0e7919739", "sha256": "05ba88132bfadd252bca3677a9c3d8926ddd98cee37638da1577273caae4f4c0" }, "downloads": -1, "filename": "pngrenderer-0.1.1-py27-none-any.whl", "has_sig": false, "md5_digest": "746426f2c394bf1c8ad2bea0e7919739", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5457, "upload_time": "2013-12-04T23:32:07", "url": "https://files.pythonhosted.org/packages/87/2b/09750f5099a000cb2231e148cc4a455896f53b3bd33f9cc115f33d860bf7/pngrenderer-0.1.1-py27-none-any.whl" }, { "comment_text": "", "digests": { "md5": "75b1a054c55f1c5fc29ea54bd819d5b3", "sha256": "c0460e60068d2710e4960a4d61cafabee44d40646a9721f9346dfd10124d719b" }, "downloads": -1, "filename": "pngrenderer-0.1.1.tar.gz", "has_sig": false, "md5_digest": "75b1a054c55f1c5fc29ea54bd819d5b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2819, "upload_time": "2013-12-04T23:32:04", "url": "https://files.pythonhosted.org/packages/01/8e/a22b51e5a49922b36849494dd30174725a7302597ff497fc9cf011cffdf8/pngrenderer-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c757e8a342f35f4242b09bd05bd30a3f", "sha256": "e83996b387e1a4a304bdd00c9f33a1d0148bd9eb4f82b7c35354c068e3ef67c5" }, "downloads": -1, "filename": "pngrenderer-0.1.2-py27-none-any.whl", "has_sig": false, "md5_digest": "c757e8a342f35f4242b09bd05bd30a3f", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5461, "upload_time": "2013-12-04T23:44:08", "url": "https://files.pythonhosted.org/packages/23/3f/0a67ee5040582450fdfaaea53bac98869f171ac2686d81a77394c94518ff/pngrenderer-0.1.2-py27-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5a1e0a7c5f530d0330d20ec742a5115b", "sha256": "947282f2beec781764ba5de064874e526c67e08f8deec795ecee0245d177c738" }, "downloads": -1, "filename": "pngrenderer-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5a1e0a7c5f530d0330d20ec742a5115b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 167661, "upload_time": "2013-12-04T23:44:06", "url": "https://files.pythonhosted.org/packages/8a/0f/ae8d075d66f59669a29c9cae1e13f776d925b12d74b1297f48f080821a02/pngrenderer-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c757e8a342f35f4242b09bd05bd30a3f", "sha256": "e83996b387e1a4a304bdd00c9f33a1d0148bd9eb4f82b7c35354c068e3ef67c5" }, "downloads": -1, "filename": "pngrenderer-0.1.2-py27-none-any.whl", "has_sig": false, "md5_digest": "c757e8a342f35f4242b09bd05bd30a3f", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5461, "upload_time": "2013-12-04T23:44:08", "url": "https://files.pythonhosted.org/packages/23/3f/0a67ee5040582450fdfaaea53bac98869f171ac2686d81a77394c94518ff/pngrenderer-0.1.2-py27-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5a1e0a7c5f530d0330d20ec742a5115b", "sha256": "947282f2beec781764ba5de064874e526c67e08f8deec795ecee0245d177c738" }, "downloads": -1, "filename": "pngrenderer-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5a1e0a7c5f530d0330d20ec742a5115b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 167661, "upload_time": "2013-12-04T23:44:06", "url": "https://files.pythonhosted.org/packages/8a/0f/ae8d075d66f59669a29c9cae1e13f776d925b12d74b1297f48f080821a02/pngrenderer-0.1.2.tar.gz" } ] }