A small Python command-line utility for generating directory tree listings. Use it to inspect folder hierarchies, share file structure snapshots, or compare directory layouts across projects.
pytree-stats reads a filesystem path and prints a tree-style view of the directory contents. It is designed as a lightweight, easy-to-run Python script that works without complex setup.
- Quickly inspect folder structure from the terminal
- AI-Friendly: Generates structured output that is easy for LLMs to parse.
- Useful for documentation, code reviews, and project audits
- Works cross-platform with Python
- Simple, no heavy dependencies
- Clone the repository:
git clone https://github.com/JohannesL2/pytree-stats.git
cd pytree-stats- Install dependencies:
pip install rich
pip install pyperclip- Run the script
python tree.py