Skip to content

kouyouqi123/pytree-stats

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pytree-stats

PRs Welcome

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.

screenshot

What the project does

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.

Why the project is useful

  • 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

Get started

Prerequisites

Installation

  1. Clone the repository:
git clone https://github.com/JohannesL2/pytree-stats.git
cd pytree-stats
  1. Install dependencies:
pip install rich
pip install pyperclip
  1. Run the script
python tree.py

About

Lightweight Python utility for recursive directory tree mapping and file-type statistics. Built with Rich for high-density terminal output and AI-ready snapshots.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%