{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/3"}],"enrichment":{"capability":"Provides a lightweight Python library for creating, manipulating, and traversing tree data structures with support for rendering and exporting trees in various formats.","skillfed_tags":["data-structures","tree-algorithms","graph-visualization"],"use_cases":["Build and visualize organizational hierarchies or family trees with parent-child relationships","Represent file system structures or directory trees for traversal and analysis","Create abstract syntax trees or expression trees for parsing and compiler work","Export tree structures to graphviz dot format for diagram generation","Add tree functionality to existing classes via NodeMixin without rewriting them"],"what_it_does":"anytree is a pure-Python tree library that lets you build and work with hierarchical data by creating Node objects and linking them via parent-child relationships. You can construct trees from scratch, modify them by reparenting nodes, and traverse them using built-in iterators. The library also includes rendering tools like RenderTree for ASCII visualization and exporters like UniqueDotExporter for generating graph images, plus a NodeMixin base class that lets you add tree capabilities to any existing Python class.\n\nThe package is stable and supports Python 3.9 through 3.13 with no external runtime dependencies, making it straightforward to integrate into projects that need to represent or manipulate tree-shaped data\u2014from organizational hierarchies to file systems to abstract syntax trees.","worth_installing":"Yes, if you need a simple, dependency-free tree library. The package is stable, supports current Python versions, has no known vulnerabilities, and is widely used (top 5000 on PyPI). The main caveat is that the license is undocumented\u2014verify it meets your requirements before use in proprietary code. Maintenance is aging but not abandoned."},"id":"anytree","links":{"html":"https://skillfed.io/packages/anytree","md":"https://skillfed.io/packages/anytree.md","pypi":"https://pypi.org/project/anytree/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-04-08","license_spdx":null,"license_treatment":"unclear","name":"anytree","python_support":"supports_current","summary":"Powerful and Lightweight Python Tree Data Structure with various plugins"},"popularity":{"monthly_downloads":10482845,"position":1450,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.13.0"}
