A general tree implementation and provides convinient methods for defining trees in JSON or YAML files.
PTree provides a general tree implementation which is not really useful in itself.
The gtree package has no requirements other than Python 3.
Ignoring the statement above, it provides a method for building a tree from dictionaries and convinient methods for iterating trees (bottom up as well as top to bottom).
This means that you can define a tree structure in JSON and YAML files, load it using e.g. using json.load and then build a tree.
See examples directory for more!
The tests utilize the popular Python module pytest. From the project root directory run the following command to run all tests:
` > pytest tests `
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size gtree-0.1.2-py3-none-any.whl (3.2 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size gtree-0.1.2.tar.gz (2.0 kB)||File type Source||Python version None||Upload date||Hashes View hashes|