A simple library to visualize lists.
Project description
Visualist
This is a very simple lilbrary to visualize lists in Python.
It was created mainly to support the creation of tutoriais for Neps Academy (amazing website :D).
Usage
The minimal example is shown below.
from visualist import draw_list
img = draw_list([1, 2, -4, 2], [2])
img.show()
The result of this code would be
Showing a list [1, 2, -4, 2] and highlighting the index 2.
Building the library
To build the library you need the wheel module:
pip install wheel
and run the following command:
python setup.py sdist bdist_wheel
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
visualist-0.1.1.tar.gz
(71.0 kB
view hashes)