Skip to main content

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

example

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page