{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/7"}],"enrichment":{"capability":"Nutree provides a Python library for creating, navigating, and manipulating tree data structures with support for searching, serialization, and visualization.","skillfed_tags":["data-structures","tree-algorithms","graph-visualization"],"use_cases":["Build hierarchical file system or organizational structure representations in memory","Search and filter tree nodes by name pattern, object reference, or ID across large hierarchies","Serialize tree structures to JSON for storage or API transmission, with optional compression","Generate visual diagrams of tree structures using Graphviz or Mermaid for documentation","Compare two trees and compute structural differences or patches for version control","Wrap arbitrary Python objects as tree nodes without modifying the original classes"],"what_it_does":"Nutree is a tree data structure library that lets you build and work with hierarchical node structures in Python. It supports both simple string nodes and arbitrary Python objects, with a navigation API for accessing, searching, and iterating through trees. The library handles common tree operations like pattern-based search, node filtering, and traversal in multiple ways.\n\nThe package is designed for unobtrusive integration\u2014you can wrap existing objects as tree nodes without modification. It offers serialization to JSON (with compression support), export to graph formats like DOT and Mermaid diagrams, RDF conversion, and tree comparison with patch generation. All code is fully type-annotated and supports typed child nodes.","worth_installing":"Yes. Nutree is a well-maintained, actively developed library with no known vulnerabilities, permissive MIT licensing, and low installation friction. It's suitable for any Python project needing tree data structures\u2014from simple hierarchies to complex object graphs\u2014with a mature API and comprehensive feature set."},"id":"nutree","links":{"html":"https://skillfed.io/packages/nutree","md":"https://skillfed.io/packages/nutree.md","pypi":"https://pypi.org/project/nutree/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-02-09","license_spdx":null,"license_treatment":"permissive","name":"nutree","python_support":"unspecified","summary":"A Python library for tree data structures with an intuitive, yet powerful, API."},"popularity":{"monthly_downloads":1026327,"position":4479,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.1.0"}
