$npx skillfedfor your agent

nutree

A Python library for tree data structures with an intuitive, yet powerful, API.

Worth itPyPI Python ModulesReleased Feb 20251.0M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — nutree-1.1.0-py3-none-any.whl
v1.1.0 · released 2025-02-09 · 1 runtime deps: typing_extensions

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—from simple hierarchies to complex object graphs—with a mature API and comprehensive feature set.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction installation with a single pure-Python wheel dependency on typing_extensions.
  • The package is actively maintained with a recent release on 2025-02-09 and an active repository.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for both open-source and commercial projects.

last release 2025-02-09 (551 days) · last repo commit 2026-08-13 · 55 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,026,327 downloads/mo, #4,479 on PyPI

Verify before relying

from nutree import Tree, Node

tree = Tree("Root")
node = tree.add("Child")
node.add("Grandchild")
tree.print()
  • Whether the package supports Python versions older than 3.9 despite classifiers listing 3.9 as minimum
  • Performance characteristics and scalability limits for very large trees
Same gist for agents: .md · .json

What it is and 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.

The package is designed for unobtrusive integration—you 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.

Use it for

  • 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

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

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—from simple hierarchies to complex object graphs—with a mature API and comprehensive feature set.

Install

nutree on PyPI

Before you install

Low friction installation with a single pure-Python wheel dependency on typing_extensions. The package is actively maintained with a recent release on 2025-02-09 and an active repository.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for both open-source and commercial projects.

Quickstart

from nutree import Tree, Node

tree = Tree("Root")
node = tree.add("Child")
node.add("Grandchild")
tree.print()

Verify before relying

  • Whether the package supports Python versions older than 3.9 despite classifiers listing 3.9 as minimum
  • Performance characteristics and scalability limits for very large trees

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
typing_extensions
MaintenanceActively maintained 551 days since the last release
Last repo commit
First released
Downloads1,026,327 / month, #4,479 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: nutree-1.1.0-py3-none-any.whl

Tags

Capabilities
tree data structure libraryhierarchical node navigationtree traversal and searchserialize tree to jsontree visualization graphvizpython tree libraryarbitrary object tree nodes
Topics
data-structurestree-algorithmsgraph-visualization
PyPI keywords
treedata structuredigraphgraphnodeshierarchytreelib

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “hierarchical node navigation”

  • nutreeNutree provides a Python library for creating, navigating, and…
  • treelibProvides a simple tree data structure implementation for Python,…
  • django-tree-queriesQuery hierarchical tree structures in Django models using recursive…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also bigtree · django-modeltree · treelib · kdtree · anytree · pathable · optree · graph-retriever · accumulation-tree · ete3