Metadata-Version: 2.4
Name: astviewer
Version: 1.1.4
Summary: GUI for viewing a Python Abstract Syntax Tree.
Keywords: AST,Abstract Syntax Tree,GUI
Author: Pepijn Kenter
Author-email: Pepijn Kenter <titusjan@gmail.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: X11 Applications :: Qt
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Topic :: Adaptive Technologies
Classifier: Topic :: Software Development
Classifier: Topic :: Utilities
Requires-Dist: pyqt5>=5.15.11
Requires-Python: >=3.8
Project-URL: homepage, https://github.com/titusjan/astviewer
Project-URL: documentation, https://github.com/titusjan/astviewer
Project-URL: repository, https://github.com/titusjan/astviewer.git
Project-URL: changelog, https://github.com/titusjan/astviewer/blob/master/HISTORY.md
Description-Content-Type: text/markdown

astviewer
=========

Graphical User Interface for viewing Python Abstract Syntax Trees.

![astviewer screen shot](screen_shot.png)

### Installation:

To install Astviewer use pip:

    %> pip install astviewer

It should automatically install PyQt5 as well. 


### Usage:
	
Command line example:
	
    %> astviewer myprog.py
	
Examples to use from within Python:

```python
	>>> from astviewer.main import view
	>>> view(file_name='myprog.py')
	>>> view(source_code = 'a + 3', mode='eval')
```

### Further links:

The [Green Tree Snakes documentation on ASTs](http://greentreesnakes.readthedocs.org/) is available
for those who find the [Python ast module documentation](http://docs.python.org/3/library/ast) too brief.
