bigtree
Tree Implementation and Methods for Python, integrated with list, dictionary, pandas and polars DataFrame.
Decision gist · record as of 2026-08-14
Yes. Bigtree is worth installing if you need a well-maintained, dependency-free tree or DAG library with broad export and traversal options. Active maintenance, no security vulnerabilities, permissive MIT license, and low install friction make it a solid choice. The optional dependencies are genuinely optional, so you can start minimal. Consider it especially if you work with hierarchical data in pandas or need to visualize tree structures.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low friction: pure Python wheel with no runtime dependencies.
- Actively maintained as of 2026-08-06 with recent release on 2026-07-16.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute bigtree freely provided you include the license notice.
last release 2026-07-16 (29 days) · last repo commit 2026-08-06 · 213 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 605,076 downloads/mo, #5,798 on PyPI
Alternatives
Verify before relying
pip install bigtree
from bigtree import Node, Tree
root = Node(name="root")
child1 = Node(name="child1", parent=root)
child2 = Node(name="child2", parent=root)
tree = Tree(root=root)
print(tree)- Whether optional dependencies (matplotlib, pandas, polars, rich, query) are required for specific workflows or all are truly optional.
- Performance characteristics and scalability limits for large trees or DAGs.
- Whether the Reingold Tilford algorithm implementation is suitable for production use cases.
What it is and what it does
Bigtree is a Python library for building and manipulating tree and graph structures. It provides three main data models—general trees, binary trees, and directed acyclic graphs—each with a Node class and a wrapper class (Tree, BinaryTree, DAG) that expose high-level APIs. You construct trees from nodes, dictionaries, lists, pandas or polars DataFrames, or interactively; traverse them using pre-order, post-order, level-order, and other strategies; search for nodes by name, path, or custom conditions; and export to console, Jupyter, HTML, images, Mermaid diagrams, or data structures.
The library is designed to be pythonic and extensible. It has no runtime dependencies, making installation straightforward. Optional dependencies unlock features like plotting with matplotlib, DataFrame integration, rich terminal output, and a tree query language. The package is actively maintained, supports modern Python versions (3.10–3.13), and includes a terminal-based studio for interactive tree construction and exploration.
Use it for
- Build and manipulate organizational hierarchies, file systems, or taxonomies using Node objects and Tree methods.
- Convert between tree representations: load from CSV via pandas, export to JSON or Mermaid for documentation.
- Search and filter large tree structures by node attributes, paths, or custom predicates.
- Visualize tree layouts using the Reingold Tilford algorithm and matplotlib or export to interactive HTML.
- Construct and traverse directed acyclic graphs for dependency resolution or workflow modeling.
- Clone, prune, or merge subtrees and compare structural differences between two trees.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Bigtree is worth installing if you need a well-maintained, dependency-free tree or DAG library with broad export and traversal options. Active maintenance, no security vulnerabilities, permissive MIT license, and low install friction make it a solid choice. The optional dependencies are genuinely optional, so you can start minimal. Consider it especially if you work with hierarchical data in pandas or need to visualize tree structures.
Install
bigtree on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Actively maintained as of 2026-08-06 with recent release on 2026-07-16. Supports Python 3.10–3.13 and PyPy.
Requires Python 3.10 or later.
License in practice
MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute bigtree freely provided you include the license notice.
Quickstart
pip install bigtree
from bigtree import Node, Tree
root = Node(name="root")
child1 = Node(name="child1", parent=root)
child2 = Node(name="child2", parent=root)
tree = Tree(root=root)
print(tree)
Verify before relying
- Whether optional dependencies (matplotlib, pandas, polars, rich, query) are required for specific workflows or all are truly optional.
- Performance characteristics and scalability limits for large trees or DAGs.
- Whether the Reingold Tilford algorithm implementation is suitable for production use cases.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 605,076 / month, #5,798 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: bigtree-1.5.3-py3-none-any.whl
Tags
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 › “tree export to dataframe”
- bigtreeBigtree provides tree, binary tree, and directed acyclic graph (DAG)…
- dask-exprDask Expressions provides query optimization for Dask DataFrames by…
- pantabConverts DataFrames to and from Tableau Hyper Extract format,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also nutree · toposort · treelib · adagio · asciidag · apache-hamilton · DAWG2-Python · pipdeptree · DAWG-Python · anytree