Skip to main content

Python library to visualize data strcutures

Project description


Python library to pretty print data structures


pip3 install ohmyds


Right now only binary tree is supported

from ohmyds import binary_tree

root = binary_tree.create_tree([1,2,3,4,None,5,None,6,7,8])

For binary tree, you can do two operations right now - level order traversal and print


The above command will print binary tree in a beautiful way (beauty is in the eyes of the beholder!)

/  \   
3  2_  
 \   \ 
 5   4 
    / \
    7 6

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

ohmyds-0.0.2.tar.gz (2.9 kB view hashes)

Uploaded source

Built Distribution

ohmyds-0.0.2-py3-none-any.whl (3.8 kB view hashes)

Uploaded py3

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