{"id":25596971,"url":"https://github.com/thulasi-ram/diff-and-patch","last_synced_at":"2025-02-21T12:47:22.973Z","repository":{"id":62568160,"uuid":"146179081","full_name":"thulasi-ram/diff-and-patch","owner":"thulasi-ram","description":"A simple python package which serves as a framework for diffing and patching complex objects. Inspired by Shreyas Kulkarni and git diff and patch.","archived":false,"fork":false,"pushed_at":"2018-08-26T14:47:27.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T00:53:55.219Z","etag":null,"topics":["diff","difference","patch","patcher","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thulasi-ram.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-26T12:34:24.000Z","updated_at":"2023-03-30T08:01:34.000Z","dependencies_parsed_at":"2022-11-03T16:31:04.499Z","dependency_job_id":null,"html_url":"https://github.com/thulasi-ram/diff-and-patch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thulasi-ram%2Fdiff-and-patch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thulasi-ram%2Fdiff-and-patch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thulasi-ram%2Fdiff-and-patch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thulasi-ram%2Fdiff-and-patch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thulasi-ram","download_url":"https://codeload.github.com/thulasi-ram/diff-and-patch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239555233,"owners_count":19658357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diff","difference","patch","patcher","python"],"created_at":"2025-02-21T12:47:22.026Z","updated_at":"2025-02-21T12:47:22.936Z","avatar_url":"https://github.com/thulasi-ram.png","language":"Python","readme":"==============\nDiff \u0026 Patch\n==============\n\nA simple python package which serves as a framework for diffing and patching complex objects. Inspired by Shreyas Kulkarni and git diff and patch.\n\nQuick links\n===========\n    PyPi: `https://pypi.org/project/diff-and-patch/ \u003chttps://pypi.org/project/diff-and-patch/\u003e`_\n\n\n    Source: `https://github.com/thulasi-ram/diff-and-patch \u003chttps://github.com/thulasi-ram/diff-and-patch\u003e`_\n\n\n    Docs: `https://github.com/thulasi-ram/diff-and-patch \u003chttps://github.com/thulasi-ram/diff-and-patch\u003e`_\n\nQuick Usage\n===========\n\nSee `examples \u003chttps://github.com/thulasi-ram/diff-and-patch/tree/master/examples\u003e`_\n\n\n::\n\n    from examples.car import Car, Engine, Passenger\n    from examples.update_car_service import UpdateCarService\n\n    engine = Engine(model='RAWWR')\n    John = Passenger('John')\n    Doe = Passenger('Doe')\n    old_car = Car(\n        engine=engine,\n        passengers=[John, Doe],\n    )\n\n    new_engine = Engine(model='SUPER_RAWWR')\n    Anne = Passenger('Anne')\n    new_car = Car(\n        engine=engine,\n        passengers=[John, Doe, Anne],\n    )\n\n    UpdateCarService(old_car).update(new_car)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthulasi-ram%2Fdiff-and-patch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthulasi-ram%2Fdiff-and-patch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthulasi-ram%2Fdiff-and-patch/lists"}