treelib icon indicating copy to clipboard operation
treelib copied to clipboard

An efficient implementation of tree data structure in python 2/3.

treelib

Tree implementation in python: simple for you to use.

Build Status Documentation Status Status Latest PyV PyPI download month GitHub contributors

PRs Welcome GitHub pull-requests GitHub pull-requests closed

Quick Start

sudo easy_install -U treelib

Documentation

For installation, APIs and examples, see http://treelib.readthedocs.io/en/latest/

Update

  • 2017-08-10: Abandon supporting Python 3.2 since v1.4.0.
  • 2012-07-07: First published.

Contributors

Brett Alistair Kromkamp ([email protected]): Post basic idea online.

Xiaming Chen ([email protected]): Finished primary parts and made the library freely public.

Holger Bast ([email protected]): Replaced list with dict for fast node index and optimized the performance.

Ilya Kuprik ([email protected]): Added ZIGZAG tree-walk algorithm to tree traversal.

ForTheBadge built-with-love