How codepaiva/projeto-convertdebit works
ConvertDebit is a Tkinter desktop tool for selecting an Excel spreadsheet, validating and previewing its date/value/debit-or-credit rows, then writing them to a timestamped text file under a date-based data directory. The graph follows the UI callbacks into the services; the README documents the overall conversion purpose. The tree view is part of the form, and no separate behavior is evident in src/views/tree.py.
Main entry points: form.py Selection form · convert_file.py Text converter · main.py App entry · app.py Tk window
Components 12
Desktop UI
- App entry
src/main.py - Tk window
src/views/app.py - Selection form
src/views/form.py - Row preview
src/views/form.py
Conversion services
- Excel picker
src/services/search_file.py - Excel validation
src/services/load_file.py - Text converter
src/services/convert_file.py - Output directories
src/services/create_dir.py
Other components
- User
- Excel workbook
- Converted text file
- Local filesystem
Connections 15
- User → App entry: launches
README.md - App entry → Tk window: creates
src/main.py - Tk window → Selection form: creates and displays
src/views/app.py - User → Selection form: selects or converts
README.md - Selection form → Excel picker: requests selection
src/views/form.py - Excel picker → Excel workbook: selects path
src/services/search_file.py - Selection form → Excel validation: loads and validates
src/views/form.py - Excel validation → Excel workbook: reads workbook
src/services/load_file.py - Selection form → Row preview: populates rows
src/views/form.py - User → Row preview: views rows
README.md - Selection form → Text converter: requests conversion
src/views/form.py - Text converter → Output directories: creates dated path
src/services/convert_file.py - Output directories → Local filesystem: creates directories
src/services/create_dir.py - Text converter → Converted text file: writes formatted rows
src/services/convert_file.py - Converted text file → Local filesystem: stored locally