Metadata-Version: 2.1
Name: BinaryTrees
Version: 1.0.0
Summary: A small example package
Home-page: https://github.com/WeeScottishPuffin/BinaryTrees
Author: Naut van der Winden
Author-email: supposedbrit@gmail.com
License: UNKNOWN
Description: # About
        ---
        
        This is a simple python module to create and manipulate Binary trees.
        
        ## Binary Trees and Nodes
        A binary tree object can be created with.
        ```BinaryTree.BinaryTree(root)```
        
        This will create a binary tree with one (root) node. To add nodes, just use ```BinaryTree.appendNode(value)```.
        At any time, you can call the ```delete()``` function on a ```Node()``` object to destroy it. This will re-add all other nodes to the tree.
        A list of nodes can be accessed with ```BinaryTree.nodes```.
        Other functions and attributes include:
        ### BinaryTree()
        - ```appendNode(value)```
        - ```printTree()```
        - ```sort()```
        - ```nodes```
        - ```root```
        ### Node()
        - ```delete()```
        - ```children```
        - ```isLeaf```
        - ```left```
        - ```level```
        - ```parent```
        - ```right```
        - ```side```
        - ```tree```
        - ```value```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
