{
"info": {
"author": "Daniel Foreman-Mackey",
"author_email": "dan@dfm.io",
"bugtrack_url": null,
"classifiers": [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python"
],
"description": "*Remember that time where you tried to remake a figure for your paper and\ncouldn't seem to get the same results? We've all been there. Well not\nanymore!*\n\nThis module monkey patches the ``savefig`` command from `matplotlib\n`_ and inserts your current git commit hash into\nthe metadata of the saved file. Currently it supports PNG and PDF figures.\n\n.. image:: https://travis-ci.org/dfm/savefig.svg?branch=master\n :target: https://travis-ci.org/dfm/savefig\n\nUsage\n-----\n\nFirst, install the module `from PyPI `_::\n\n pip install savefig\n\nor `from source `_::\n\n git clone https://github.com/dfm/savefig.git\n cd savefig\n python setup.py install\n\nThen in all your code just add the following lines before importing matplotlib::\n\n from savefig import monkey_patch\n monkey_patch()\n\nTo read the metadata from an existing image file, run::\n\n python -m savefig /path/to/figure.png\n\nwhich will give you something like::\n\n git-hash: 192a639c4a9eb7523e9becd23f359fd7d96e833f\n git-date: 2014-03-29 21:30:27 -0400\n git-author: Dan F-M\n\nYou can also get the diff between the saved commit hash and the version used\nto make the figure by running::\n\n python -m savefig /path/to/figure.png --diff\n\n\nLicense\n-------\n\nCopyright 2014 Dan Foreman-Mackey\n\nAvailable under the MIT License.\n",
"description_content_type": null,
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/dfm/savefig",
"keywords": "",
"license": "MIT",
"maintainer": "",
"maintainer_email": "",
"name": "savefig",
"package_url": "https://pypi.org/project/savefig/",
"platform": "",
"project_url": "https://pypi.org/project/savefig/",
"project_urls": {
"Homepage": "https://github.com/dfm/savefig"
},
"release_url": "https://pypi.org/project/savefig/0.0.4/",
"requires_dist": null,
"requires_python": "",
"summary": "Save matplotlib figures with embedded metadata for reproducibility and profit",
"version": "0.0.4"
},
"last_serial": 2899032,
"releases": {
"0.0.1": [
{
"comment_text": "",
"digests": {
"md5": "434072962e30910e5d951cad52e28914",
"sha256": "e49ddbb83fe2e2368881c2e267f15004facae524329a80fbd58f228d28ee317f"
},
"downloads": -1,
"filename": "savefig-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "434072962e30910e5d951cad52e28914",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3999,
"upload_time": "2014-03-30T01:56:11",
"url": "https://files.pythonhosted.org/packages/26/6b/ab6a38014247576392949d1978265d4395e22f9fe4aaca089473208b1e44/savefig-0.0.1.tar.gz"
}
],
"0.0.2": [
{
"comment_text": "",
"digests": {
"md5": "368c81cc7ceb0cce7a160fcc621f0ed4",
"sha256": "2881afe1943ab44635062f2c922b7d74cc3e4504df9c8c1d3f18f21610363e22"
},
"downloads": -1,
"filename": "savefig-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "368c81cc7ceb0cce7a160fcc621f0ed4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4261,
"upload_time": "2014-03-30T15:23:33",
"url": "https://files.pythonhosted.org/packages/a0/01/638389b5d53f23411ac774e8316df39395e524c83ca69ebe9422f16657dc/savefig-0.0.2.tar.gz"
}
],
"0.0.3": [
{
"comment_text": "",
"digests": {
"md5": "6b476da96dc9d087419a85f0841e2687",
"sha256": "78b1b373725bc4402d98973c87a5b8e68fde6ed0939b44d9d8b4ab8aae8572b7"
},
"downloads": -1,
"filename": "savefig-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "6b476da96dc9d087419a85f0841e2687",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4411,
"upload_time": "2016-12-05T22:04:10",
"url": "https://files.pythonhosted.org/packages/54/f5/f05b7409f50cc17b53788ed312b87c36ae7dd61d4899dff092e573da1b2c/savefig-0.0.3.tar.gz"
}
],
"0.0.4": [
{
"comment_text": "",
"digests": {
"md5": "6dd2ca0a98e7cd10dcd5ab19bde201df",
"sha256": "b90352b069774f79e3815fc96ed54883e2de30ea5edfed20d6a6367d0985e110"
},
"downloads": -1,
"filename": "savefig-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "6dd2ca0a98e7cd10dcd5ab19bde201df",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4495,
"upload_time": "2017-05-25T21:37:10",
"url": "https://files.pythonhosted.org/packages/38/de/794ff06eb3dbc3e95edb7d3a2a1dfe90c7415c982abae84cc3098f39048c/savefig-0.0.4.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "6dd2ca0a98e7cd10dcd5ab19bde201df",
"sha256": "b90352b069774f79e3815fc96ed54883e2de30ea5edfed20d6a6367d0985e110"
},
"downloads": -1,
"filename": "savefig-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "6dd2ca0a98e7cd10dcd5ab19bde201df",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4495,
"upload_time": "2017-05-25T21:37:10",
"url": "https://files.pythonhosted.org/packages/38/de/794ff06eb3dbc3e95edb7d3a2a1dfe90c7415c982abae84cc3098f39048c/savefig-0.0.4.tar.gz"
}
]
}