Simple visualization for recursive functions in Python.
Project description
recviz
Simple and easy visualization for recursive functions in Python.
Installing recviz
pip install recviz
Usage
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
recviz-0.0.4.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file recviz-0.0.4.tar.gz
.
File metadata
- Download URL: recviz-0.0.4.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/45.3.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e86ed6668a266628146867630088876a74ac66822500ec569612b995384a6ad0
|
|
MD5 |
6b5752e74c1dba69a03670bdaaea5b3e
|
|
BLAKE2b-256 |
bc0cc744e8046531d341c7a65328ee826e7cdfc0912e2f6ab175818a9d041fa1
|
File details
Details for the file recviz-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: recviz-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/45.3.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
08bf40ca178d03b1544db1546bca46e358f7d15a30f344ad47e1ab929724e7aa
|
|
MD5 |
33387334a4020ebab2e1195b3f599e2b
|
|
BLAKE2b-256 |
39a21c847271312d1b494700a44934a5a32d6ad3f8657fd8ab80b7973ca59b2e
|