Metadata-Version: 2.1
Name: RecursionTree
Version: 1.0
Summary: Builds recursive calls tree and saves it as a PNG file.
Home-page: https://github.com/IgorZyktin/recursion_tree
Author: Igor Zyktin
Author-email: nicord@yandex.ru
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# Recursion tree
Transforms recursive functions in graphical form.

Installation:
```
pip install recursion_tree
``` 
Usage:<br>
```python
@recursion_tree
def fact(x: int) -> int:
    return 1 if x <= 1 else x * fact(x-1)
```
Just add the 'recursion_tree' decorator to any recursive function. 
After the run, parameters of the call will be saved as recursion_tree.json.
Additional settings might be used via settings.py.

Example of use:<br>
![fibo_calls](/treeexample.png)

