Welcome to the documentation for binarytree!
Binarytree is a Python library which provides a simple API to generate, visualize, inspect and manipulate binary trees. It allows you to skip the tedious work of setting up test data, and dive straight into practising your algorithms. Heaps and BSTs (binary search trees) are also supported.
- Python 2.7+ or 3.4+
To install a stable version from PyPi:
~$ pip install binarytree
To install the latest version directly from GitHub:
~$ pip install -e email@example.com:joowani/binarytree.git@master#egg=binarytree
You may need to use
sudo depending on your environment.