If you want to generate a tree view of a specific structure such as files in a directory, use rich.tree. rich also allows you to add color to each branch using brackets.
rich.tree
rich
Link to rich.
Simplify Datetime Handling in Python Logs with Loguru
txtmarker: Question-Based PDF Highlighting with Python
Dynamic Report Generation with Jinja Templates