Metadata-Version: 1.1
Name: pydiff
Version: 0.1.3
Summary: Diffs two Python files at the bytecode level.
Home-page: https://github.com/myint/pydiff
Author: Steven Myint
Author-email: UNKNOWN
License: Expat License
Description: ======
        pydiff
        ======
        
        .. image:: https://travis-ci.org/myint/pydiff.png?branch=master
           :target: https://travis-ci.org/myint/pydiff
           :alt: Build status
        
        pydiff diffs Python code at the bytecode level. This is useful for checking for
        changes to the actual code structure while ignoring formatting changes.
        
        
        Installation
        ============
        
        From pip::
        
            $ pip install --upgrade pydiff
        
        
        Example
        =======
        
        ``foo.py``:
        
        .. code-block:: python
        
            import os, sys
            def main():
        
               x = len(sys.argv) + 100
        
               y            = x+77
               print(y)
        
        ``bar.py``:
        
        .. code-block:: python
        
            import os
            import sys
        
        
            def main():
               x = len(sys.argv) + 101
               y = x + 77
               print(y)
        
        ``$ pydiff foo.py bar.py``:
        
        .. code-block:: diff
        
          ---
          +++
          @@ -4,7 +4,7 @@
                          None,
                          {'co_argcount': 0,
                           'co_cellvars': (),
          -                'co_consts': [None, 100, 77],
          +                'co_consts': [None, 101, 77],
                           'co_flags': 67,
                           'co_freevars': (),
                           'co_kwonlyargcount': 0,
        
Keywords: diff,bytecode,python,whitespace,formatting
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: License :: OSI Approved :: MIT License
