semvec/pypi-packages huggingface dataset:
recviz 0.0.4
Simple visualization for recursive functions in Python.
Requires Python: >=3.5, <4
Keywords: function visualization,utility

recviz
===

Simple and easy visualization for recursive functions in Python.

# Installing recviz

```sh
pip install recviz
```

# Usage

```py
from recviz import recviz


@recviz
def fib(n):
  # base condition mimicking the first two numbers
  # in the sequence
  if n == 0: return 0
  if n == 1: return 1

  # every number is summation of the previous two
  return fib(n - 1) + fib(n - 2)

fib(3)
```