Skip to main content

DSViz is a simple and intuitive Python interface to multiple packages in order to help visualise different data structres while coding them. This package is developed mainly for students or developers who are in the process of learning data structures.

Project description

Data Structure Visualiser

License

PyPI downloads

DSViz is a simple and intuitive Python interface to multiple packages in order to help visualise different data structres while coding them. This package is developed mainly for students or developers who are in the process of learning data structures.

This packages acts as an interface to Tkinter a Python UI library and GraphViz which facillitates rendering of graphs described in the DOT language.

This package can be used to visualise any implementations of the following:

  • Array Lists
  • Linked Lists
    • Singly Linked Lists
    • Doubly Linked Lists
    • Circular Linked Lists
  • Trees
    • Binary Trees
    • AVL
    • 2-4 Trees
  • Graphs
    • Directed Graphs
    • Undirected Graphs These are just a few examples data structures that can be visualised using DSViz.

Links

Install

This library requires the GraphViz to be installed.

Mac

We recommend using Homebrew to install GraphViz.

Open terminal and run the following command (assuming you have Homebrew installed)

brew install graphviz

Windows

Historically, installing Graphviz and PyGraphviz on Windows has been challenging. Fortunately, the Graphviz developers are working to fix this and their recent releases have much improved the situation.

For this reason, PyGraphviz 1.7 only supports Graphviz 2.46.0 or higher on Windows. We recommend either manually installing the official binary release of Graphviz

You may also need to install Visual C/C++, e.g. from here: https://visualstudio.microsoft.com/visual-cpp-build-tools/

Assuming you have Python and Visual C/C++ installed, we believe the following should work on Windows 10 (64 bit) using PowerShell.

Manual download:

Download and install 2.46.0 for Windows 10 (64-bit): stable_windows_10_cmake_Release_x64_graphviz-install-2.46.0-win64.exe

Linux

We recommend installing Graphviz using your Linux system's package manager. Below are examples for some popular distributions.

Ubuntu and Debian

sudo apt-get install graphviz graphviz-dev

Fedora and Red Hat

You may need to replace dnf with yum in the example below.

sudo dnf install graphviz graphviz-devel

Finally

After installing GraphViz according to your OS, you can install our > package and the other dependencies using pip

 $ pip install DataStructureVisualiser

Credits to pygraphviz for specific instructions on downloading GraphViz.

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

DataStructureVisualiser-1.0.3.tar.gz (35.5 kB view details)

Uploaded Source

Built Distribution

DataStructureVisualiser-1.0.3-py2-none-any.whl (34.9 kB view details)

Uploaded Python 2

File details

Details for the file DataStructureVisualiser-1.0.3.tar.gz.

File metadata

  • Download URL: DataStructureVisualiser-1.0.3.tar.gz
  • Upload date:
  • Size: 35.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for DataStructureVisualiser-1.0.3.tar.gz
Algorithm Hash digest
SHA256 fa5b27936db7301a92807e4841773bcf494e920e5b97e0a08fd8b11e34cc7052
MD5 77bba9f7333e698566c6250483594f13
BLAKE2b-256 d2dd9db50d1e494ada672f6e72c9f095b880c7133de1440f30921a4ecab8a997

See more details on using hashes here.

File details

Details for the file DataStructureVisualiser-1.0.3-py2-none-any.whl.

File metadata

  • Download URL: DataStructureVisualiser-1.0.3-py2-none-any.whl
  • Upload date:
  • Size: 34.9 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for DataStructureVisualiser-1.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 44d592455f57e68490cffd9cb9855fc7c61ac2b6f8480193e924c595bd695136
MD5 3f312810f0a68db7ba4712eeecb0c15a
BLAKE2b-256 f35c11ebac39960594a61121dbb17ae1e7d6d62c3598a5f72ee17c33afdc2a94

See more details on using hashes here.

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