Metadata-Version: 2.1
Name: prettydiff
Version: 0.1.0
Summary: Pretty JSON data diffs
Home-page: https://github.com/python273/prettydiff
Author: python273
Author-email: prettydiff@python273.pw
License: MIT
Download-URL: https://github.com/python273/prettydiff/archive/v0.1.0.zip
Description: # prettydiff
        
        **prettydiff** - diff parsed JSON objects and pretty-print it
        
        > `$ python3 -m pip install prettydiff`
        
        - [Custom output format example (HTML)](https://github.com/python273/prettydiff/blob/master/example_html.py)
        
        ## terminal
        
        ```python
        from prettydiff import print_diff
        
        a = {"a": "hello", "b": True, "c": [1, 3], "d": {"e": {"f": 1}}}
        b = {"a": "world", "b": False, "c": [1, 2, 3]}
        
        # to enable colors: $ python3 -m pip install prettydiff[terminal]
        print_diff(a, b)
        ```
        
        ```diff
          {
        -   'a': 'hello',
        +   'a': 'world',
        -   'b': True,
        +   'b': False,
            'c': [
              1,
        -     3,
        +     2,
        +     3,
            ],
        -   'd': {
        -     'e': {
        -       'f': 1,
        -     },
        -   },
          }
        ```
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: terminal
