An efficient implementation of tree data structure in python 2/3.
Python Shell
Latest commit d4107e4 Aug 18, 2016 @caesar0301 Update author


Tree implementation in python: simple to use for you.

Build Status

Quick Start

sudo easy_install -U treelib


For installation, APIs and examples, see


Before version 1.3.0: GPL
After that: Apache


Brett Alistair Kromkamp ( Basic framework finished.
Xiaming Chen ( For reasearch utility, I finish main parts and make the library freely public.
Holger Bast ( Replaces list with dict for nodes indexing and improves the performance to a large extend.
Ilya Kuprik ( Added ZIGZAG tree-walk mode to function tree_expand()