Metadata-Version: 2.1
Name: paddle1to2
Version: 0.0.1
Summary: Upgrade python project from paddle-1.x to paddle-2.0
Home-page: https://github.com/T8T9/paddle1to2
Author: T8T9, PaddlePaddle
Author-email: taoshibo@baidu.com
License: Apache License 2.0
Description: ### Change Spec
        ```
        change_spec = {
            "path.to.old_api": {
                "alias": [
                    "path.to.old_api_alias1",
                    "path.to1.to2.old_api_alias2",
                    ],
                "update_to": "path.to.new_api",
                "warning": "this api is deprecated.",
                "args_list": ["arg1", "arg2"],
                "args_change": [
                    ("arg2", "arg2_rename"),
                    ("arg3", ""),
                    ("", "new_arg", "default_value"),
                    ],
                "args_warning": {"arg1":"warning message"},
                "args_transformer": "_default_transformer",
            },
        }
        ```
        
        ### Install
        1. install with pip
        
        ```
        pip install paddle1to2
        paddle1to2 --help
        ```
        
        2. install from source
        ```
        git clone https://github.com/T8T9/paddle1to2.git
        cd paddle1to2
        python setup.py sdist bdist_wheel
        pip install -U ./dist/paddle1to2-*.whl
        paddle1to2 --help
        ```
        
        ### Acknowledgements
        - [Bowler](https://github.com/facebookincubator/Bowler/): Safe code refactoring for modern Python projects.
        - [lib2to3](https://github.com/python/cpython/tree/master/Lib/lib2to3): A built-in python library to refactor python code.
        
Keywords: paddle1to2,paddle,paddlepaddle
Platform: UNKNOWN
Classifier: License :: OSI Approved
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
