pptree: Pretty print trees

JSON →
library 3.1 ·python maintenance
verified May 25, 2026

pptree is a Python library (current version 3.1) designed to pretty-print tree-like data structures in a console-friendly, hierarchical format. It provides a default `Node` implementation and a `print_tree` function that can work with both its own `Node` objects and custom object structures. The library has an infrequent release cadence, with the last update in April 2020.

total hits 15
actors 7 distinct systems
last hit 2d ago MJ12bot
GPTBot
2
Script
2
MetaBot
2
ClaudeBot
1
Search engines
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇪🇸 Spain · 🇩🇪 Germany · 🇺🇦 Ukraine