[ 源代码: asciitree ]
软件包:python3-asciitree(0.3.3-4)
Draw tree structures using (ASCII or Unicode) characters
This package contains functions to draw a tree structure, similar to the tree Debian package, from arbitrary nested Python data structures, with configurable layout, sets of characters (ASCII or various Unicode line drawing), etc. It includes predefined structure traversal methods for (optionally ordered) dictionaries but allows the user to write their own to traverse custom data structures.