{ "info": { "author": "anatoly techtonik", "author_email": "techtonik at gmail com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "Features\r\n--------\r\n\r\n * Python 2 and 3 compatible\r\n * Automatic correction of\r\n * Linefeeds according to patched file\r\n * Diffs broken by stripping trailing whitespace\r\n * a/ and b/ prefixes\r\n * Single file, which is a command line tool and a library\r\n * No dependencies outside Python stdlib\r\n * Patch format detection (SVN, HG, GIT)\r\n * Nice diffstat histogram\r\n * Linux / Windows / OS X\r\n * Test coverage\r\n\r\nThings that don't work out of the box:\r\n\r\n * File renaming, creation and removal\r\n * Directory tree operations\r\n * Version control specific properties\r\n * Non-unified diff formats\r\n\r\n\r\nUsage\r\n-----\r\n\r\nDownload **patch.py** and run it with Python. It is a self-contained\r\nmodule without external dependencies::\r\n\r\n patch.py diff.patch\r\n\r\nYou can also run the .zip file::\r\n \r\n python patch-1.16.zip diff.patch\r\n\r\nInstallation\r\n------------\r\n\r\n**patch.py** is self sufficient. You can copy it into your repository\r\nand use it from here. This setup will always be repeatable. But if\r\nyou need to add `patch` module as a dependency, make sure to use strict\r\nspecifiers to avoid hitting an API break when version 2 is released::\r\n\r\n pip install \"patch==1.*\"\r\n\r\n\r\nChanges\r\n-------\r\n \r\nhttps://github.com/techtonik/python-patch/blob/master/doc/CHANGES.md", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/techtonik/python-patch/", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "patch", "package_url": "https://pypi.org/project/patch/", "platform": "", "project_url": "https://pypi.org/project/patch/", "project_urls": { "Homepage": "https://github.com/techtonik/python-patch/" }, "release_url": "https://pypi.org/project/patch/1.16/", "requires_dist": null, "requires_python": null, "summary": "Library to parse and apply unified diffs", "version": "1.16" }, "last_serial": 5742932, "releases": { "1.14": [], "1.14.2": [ { "comment_text": "", "digests": { "md5": "52937fd6117f463636a40e5aa90a36c9", "sha256": "6f0554306cdee6c4fc11a35447e035d9fc61ca65309fe871cf04a07c9fb520d8" }, "downloads": -1, "filename": "patch-1.14.2.zip", "has_sig": false, "md5_digest": "52937fd6117f463636a40e5aa90a36c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11397, "upload_time": "2015-05-03T10:29:53", "url": "https://files.pythonhosted.org/packages/c3/f9/57cef4a88e99d4729f71634d4dbec672fcc4df269f79d88a178aa2b65bd2/patch-1.14.2.zip" } ], "1.15": [ { "comment_text": "", "digests": { "md5": "53077758f60fa068b9dd3e179d4d34df", "sha256": "c9ebda243e569dddf0eb87fd8e9cb1cbc02d63ff63abd4aa2204ace5d5fb833d" }, "downloads": -1, "filename": "patch-1.15.zip", "has_sig": false, "md5_digest": "53077758f60fa068b9dd3e179d4d34df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11554, "upload_time": "2015-12-25T17:12:37", "url": "https://files.pythonhosted.org/packages/e0/b8/bda6f5f559ad762c1d9b80a1ab5e7414421e390a1c241e944c95c4c0ad29/patch-1.15.zip" } ], "1.16": [ { "comment_text": "", "digests": { "md5": "dbcbbd4e45ddd8baeb02bddf663a3176", "sha256": "c62073f356cff054c8ac24496f1a3d7cfa137835c31e9af39a9f5292fd75bd9f" }, "downloads": -1, "filename": "patch-1.16.zip", "has_sig": false, "md5_digest": "dbcbbd4e45ddd8baeb02bddf663a3176", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12809, "upload_time": "2016-02-13T15:18:58", "url": "https://files.pythonhosted.org/packages/da/74/0815f03c82f4dc738e2bfc5f8966f682bebcc809f30c8e306e6cc7156a99/patch-1.16.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dbcbbd4e45ddd8baeb02bddf663a3176", "sha256": "c62073f356cff054c8ac24496f1a3d7cfa137835c31e9af39a9f5292fd75bd9f" }, "downloads": -1, "filename": "patch-1.16.zip", "has_sig": false, "md5_digest": "dbcbbd4e45ddd8baeb02bddf663a3176", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12809, "upload_time": "2016-02-13T15:18:58", "url": "https://files.pythonhosted.org/packages/da/74/0815f03c82f4dc738e2bfc5f8966f682bebcc809f30c8e306e6cc7156a99/patch-1.16.zip" } ] }