How tanishktewetia/consolidapy works
ConsolidaPy is a Tkinter desktop tool that turns a folder of Excel workbooks into a combined workbook. The main workflow is folder selection, background consolidation, progress/log feedback, and opening the result. Its processing includes header detection and column canonicalization, while output generation combines data and preserves source-sheet formatting. All runtime responsibilities reside in app.py. The excerpts do not show every internal call, so some processing links rely on the README’s capability descriptions.
Main entry points: app.py Background worker
Components 14
Desktop interface
- Tkinter interface
app.py - Background worker
app.py - Progress and logs
app.py - Open output
app.py
Consolidation processing
- Workbook discovery
app.py - Header detection
app.py - Column canonicalization
app.py - Data consolidation
app.py - Sheet and style preservation
app.py - Output formatting
app.py
Workbook input and output
- Selected folder
- Source workbooks
- Combined workbook
Other components
- User
Connections 16
- User → Tkinter interface: selects folder
README.md - Tkinter interface → Background worker: starts thread
app.py - Background worker → Workbook discovery: discovers files
app.py - Selected folder → Workbook discovery: contains workbooks
- Workbook discovery → Source workbooks: selects inputs
app.py - Source workbooks → Header detection: reads data
app.py - Header detection → Column canonicalization: identifies columns
app.py - Column canonicalization → Data consolidation: normalizes data
app.py - Source workbooks → Sheet and style preservation: copies original sheets
app.py - Data consolidation → Combined workbook: writes combined sheet
README.md - Sheet and style preservation → Combined workbook: preserves sheets
README.md - Data consolidation → Output formatting: formats combined data
app.py - Output formatting → Combined workbook: styles workbook
README.md - Background worker → Progress and logs: reports progress
README.md - User → Open output: requests opening
README.md - Open output → Combined workbook: opens workbook
app.py