Metadata-Version: 2.4
Name: whg
Version: 1.0.1
Summary: WHG Python Code Helper Toolkit
License-Expression: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# WHG Python Code Helper

Install:

    python -m pip install whg

Python API:

    import whg

    print(whg.check_code("print('hello')"))
    print(whg.analyze_code("def hello():\n    pass"))
    print(whg.find_common_errors("if True\n    print('hi')"))

Command line:

    whg version
    whg check main.py
    whg analyze main.py
    whg warnings main.py
    whg fix main.py
    whg run main.py

The fix command creates a .whg.bak backup when it changes a file.
WHG performs basic checks; it cannot guarantee automatic repair
of all syntax errors or program logic.
