← view all projects

TreeGen

Asynchronous MVVM Skeleton Builder · Side Project

Setting up production-ready directory architectures manually is a repetitive, error-prone task. TreeGen bridges this gap by operating as a multi-threaded desktop utility that programmatically compiles stylized text-based visual trees into clean physical file systems instantly.

Core Engineering Features

The system relies heavily on decoupled state brokers and clean regex string abstractions to process formatting smoothly:

Architectural Modularity

The codebase avoids monolith structures by splitting duties completely into modular subpackages, leaving room to switch out components cleanly later down the line:

treegen/
├── main.py                     # App entry point & dependency injection
├── models/
│   └── tree_creator.py         # Parsing, mapping, & filesystem operations
├── viewmodels/
│   └── main_viewmodel.py       # State broker; handles QThreads & UI signals
├── views/
│   └── main_window.py          # Declarative PyQt6 window structure
└── tests/
    ├── test_parser.py          # Pytest validation for regex matching
    └── test_creator.py         # Pytest verification for folder I/O
"Developed explicitly to demonstrate deep separation of concerns, defensive file I/O practices, and robust regex string parsing in modern desktop environments."

Testing & Production Automation

Defensive design paradigms are maintained across the application layer by enforcing end-to-end processing testing routines: