{ "info": { "author": "Jason Ritzke (@Rtzq0)", "author_email": "jasonritzke@4loopz.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Programming Language :: Python :: 2.7", "Topic :: Utilities" ], "description": "structurediff\n=======================\nstructurediff is a tool (a command line wrapper really) that uses `DeepDiff`_\nto provide a simple command line utility for 'diffing' (at a structural rather\nthan line-based level) large YAML and/or JSON files (meaning it can diff YAML\nagainst YAML, or YAML against JSON, or JSON against JSON).\n\n.. _DeepDiff: https://github.com/seperman/deepdiff\n\nstructurediff uses the `pyyaml`_ parser for both JSON\nand YAML to work around issues with unicode-ification of strings. As a\nresult structurediff cannot be depended on to differentiate between unicode\nand non-unicode types between JSON and YAML.\n\n.. _pyyaml: http://pyyaml.org/\n\ncontributing\n------------\nJust reach out (or submit a patch or merge request). I try to keep an eye\nopen.\n\ntodo\n----\nThis code has no tests. It should have some.\n\nhowto\n-----\nOn the command line::\n\n\tusage: structurediff [-h] [-d DIFF_VERBOSITY] [-i INDENT_LEVEL] [-v]\n\t\t\t\t\t\t input1 input2\n\n\tpositional arguments:\n\t input1 initial input\n\t input2 input to compare against input1\n\n\toptional arguments:\n\t -h, --help show this help message and exit\n\t -d DIFF_VERBOSITY, --diff-verbosity DIFF_VERBOSITY\n\t\t\t\t\t\t\tset the DeepDiff verbose_level, 0-2 (default 1)\n\t -i INDENT_LEVEL, --indent-level INDENT_LEVEL\n\t\t\t\t\t\t\tset the pprint indent spacing (default 2)\n\t -v, --verbose make output verbose_level\n\nIn Python (why would you do this? Use DeepDiff instead!)::\n\n\tfrom structurediff import DataComparison, DataFile\n\tcomparison = DataComparison(DataFile(PATH), DataFile(PATH), VERBOSITY)\n\tprint(comparison)\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/Rtzq0/structurediff", "keywords": "DeepDiff YAML JSON diff", "license": "AGPLv3+", "maintainer": "", "maintainer_email": "", "name": "structurediff", "package_url": "https://pypi.org/project/structurediff/", "platform": "", "project_url": "https://pypi.org/project/structurediff/", "project_urls": { "Homepage": "https://gitlab.com/Rtzq0/structurediff" }, "release_url": "https://pypi.org/project/structurediff/1.0/", "requires_dist": null, "requires_python": "", "summary": "structurediff is a diff utility for structured data files", "version": "1.0" }, "last_serial": 2503401, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "9f61ac87b490825b643185aacfc4d2bf", "sha256": "25b85fc412ce7eed25de01576be8944ee8ea6d18c819425616e8a8b068903cdb" }, "downloads": -1, "filename": "structurediff-1.0.tar.gz", "has_sig": false, "md5_digest": "9f61ac87b490825b643185aacfc4d2bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17145, "upload_time": "2016-12-06T20:07:58", "url": "https://files.pythonhosted.org/packages/86/44/c8a585145ab9bc2cfc95a083d34bcb594bd8ab494ba868dd2feaa159b73b/structurediff-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9f61ac87b490825b643185aacfc4d2bf", "sha256": "25b85fc412ce7eed25de01576be8944ee8ea6d18c819425616e8a8b068903cdb" }, "downloads": -1, "filename": "structurediff-1.0.tar.gz", "has_sig": false, "md5_digest": "9f61ac87b490825b643185aacfc4d2bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17145, "upload_time": "2016-12-06T20:07:58", "url": "https://files.pythonhosted.org/packages/86/44/c8a585145ab9bc2cfc95a083d34bcb594bd8ab494ba868dd2feaa159b73b/structurediff-1.0.tar.gz" } ] }