This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A Python implementation of Tree data structure


## Build up tree structure:
### Initialization case 1: Initialize as single node
root = Tree('Root')
child01 = Tree('C01')
child02 = Tree('C02')
child03 = Tree('C03')
child11 = Tree('C11')
child31 = Tree('C31')
child111 = Tree('C111')
child112 = Tree('C112')
#add children nodes
root.addChildren([child01, child02, child03])

#to print hierarchy tree structure
#to print nested-list tree structure
#### Output:
|___ C01
| |___ C11
| |___ C111
| |___ C112
|___ C02
|___ C03
| |___ C31

### Initialization case 2: Initialize with child
child31 = Tree('C31')
child03 = Tree('C03', child31 )

### Initialization case 3: Initialize with children
child01 = Tree('C01')
child02 = Tree('C02')
child03 = Tree('C03')
root = Tree('Root', [child01, child02, child03] )

## Methods
|___ addChild
|___ addChildren
|___ getParent
|___ getChild
|___ getChildren
|___ getNode
|___ delChild
|___ delNode
|___ getRoot
|___ isRoot
|___ isBranch
|___ prettyTree
|___ nestedTree

Copyright 2012 Yoyo Zhou. Distributed under the [Apache License 2.0]( See the `LICENSE` file for details.
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyTree-2.0.0.tar.gz (4.7 kB) Copy SHA256 Checksum SHA256 Source Oct 2, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting