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, 3.5, 3.6, 3.7, 3.8
To install a stable version from PyPi:
~$ pip install binarytree
To install the latest version directly from GitHub:
You may need to use
sudo depending on your environment.