anytree
anytree copied to clipboard
Python tree data library
An enhance way added into DictImporter for supporting different nodeClass. Sometimes I need import the tree back, which has different nodeClass. I found below workround. please consider it, if possible...
Really cool library, thanks :) I have a tree like so: Is there a built in way to collapse the nodes to result in a string like `quantity = Σ(Metered...
Is there any support (or planned) for importing from an XML file?
Make sure the test checks the actual unpickled file against reference output
So, there I was, trying to build a Google Drive tree file structure using "anytree" as the backbone. You get a list of files from Google and get to guess...
Hi @c0fec0de, thanks for the fantastic library! Running v`2.12.1` installed via conda/mamba and getting the following error: ```python top = Node("top", parent=None) sub0 = Node("sub0", parent=top) relaxedresolver = Resolver('name', relax=True)...
Found a problem when trying to use RenderTreeGraph on a tree structure. ```python >>> anytree.__version__ '2.12.1' ``` ```python from anytree import Node, RenderTree from anytree.dotexport import RenderTreeGraph tree = Node("root")...
Newer versions of poetry require project.name
poetry-core 2.0.0 requires, as soon as a `project` section exists, that it has a `name` and `version`. This is not the case for anytree 1.12.1, breaking the build. See https://github.com/python-poetry/poetry/issues/9985#event-15839255794...