Update README with information about new export and aggregation scripts

This commit is contained in:
Kevin Bataille
2026-02-09 10:36:03 +01:00
parent 7e58c68197
commit 84d165d6dc

View File

@@ -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: