How daniellepashayan/homecare_file_move works
Homecare_File_Move is a small file-processing bot: it waits for a dated source folder, inventories its PDFs, moves them to a shared destination, removes emptied folders, and writes a movement tracker. The README describes an Excel audit file, but the sampled implementation writes a dated CSV. The runtime is contained in main.py; external folder paths are inferred from that source, while internal method-level wiring is summarized at the class level.
Main entry points: main.py Polling entry point
Components 10
Runtime workflow
- Polling entry point
main.py - Folder workflow
main.py - PDF inventory
main.py - Empty-folder cleanup
main.py
Audit and logging
- Movement tracker
main.py - Dated CSV tracker
main.py
Other components
- Bot process
- Source folders
- Shared destination
- Runtime logs
Connections 14
- Bot process → Polling entry point: starts
- Polling entry point → Source folders: checks path
- Polling entry point → Folder workflow: runs workflow
- Polling entry point → Dated CSV tracker: writes tracker
- Folder workflow → Source folders: scans PDFs
- Folder workflow → PDF inventory: builds inventory
- PDF inventory → Movement tracker: initializes rows
- Folder workflow → Shared destination: moves PDFs
- Folder workflow → Movement tracker: marks moved
- Folder workflow → Empty-folder cleanup: checks folders
- Empty-folder cleanup → Source folders: removes empty folders
- Polling entry point → Movement tracker: checks status
- Dated CSV tracker → Runtime logs: writes dated CSV
- Polling entry point → Runtime logs: records events