Binarytree: Python Library for Studying Binary Trees

GitHub License Python Versions

Welcome to the documentation for binarytree.

Binarytree is Python library which lets you generate, visualize, inspect and manipulate binary trees. Skip the tedious work of setting up test data, and dive straight into practising algorithms. Heaps and binary search trees are also supported. Self-balancing search trees like red-black or AVL will be added in the future.

Requirements

Python 3.7+

Installation

Install via pip:

pip install binarytree --upgrade

For conda users:

conda install binarytree -c conda-forge