From 84d165d6dc1a84455cc27fd61e809b4b320c2024 Mon Sep 17 00:00:00 2001 From: Kevin Bataille Date: Mon, 9 Feb 2026 10:36:03 +0100 Subject: [PATCH] Update README with information about new export and aggregation scripts --- docs/README.md | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index a4f060c..4a41693 100644 --- a/docs/README.md +++ b/docs/README.md @@ -53,6 +53,8 @@ comptabilite/ ### Master Script - **process_all.py** - Master script that runs all processing scripts with unified options +- **export_all_csv.py** - Exports CSV files for all account statements in one run +- **aggregate_by_month.py** - Aggregates all account statements by month and creates reports ## Usage @@ -71,9 +73,12 @@ python process_bourso.py --csv python process_bourso.py --pdf-dir ../data/pdf/boursobank --output-dir ../../output/csv --csv ``` -### Master Script +### Master Scripts -From the `scripts/` directory, the master script can process all statements at once: +From the `scripts/` directory, you can use these master scripts: + +#### process_all.py +Process statements with the standard individual scripts: ```bash # Process all statements @@ -86,6 +91,28 @@ python process_all.py --csv python process_all.py --bourso --amex --csv ``` +#### export_all_csv.py +Export CSV files for all account statements in one run: + +```bash +# Export all account statements to CSV +python export_all_csv.py + +# Export to specific output directory +python export_all_csv.py --output-dir /path/to/output +``` + +#### aggregate_by_month.py +Create monthly and yearly aggregated reports from all CSV files: + +```bash +# Aggregate all transactions by month +python aggregate_by_month.py + +# Specify input and output directories +python aggregate_by_month.py --input-dir /path/to/csv --output-dir /path/to/reports +``` + ## Output When run with `--csv` flag, each script generates: