babilonia.utils.util_parse_bb#

Parse and standardize Banco do Brasil checking account statements.

This script scans a target directory for Banco do Brasil Conta Corrente CSV statement files (T0), standardizes their structure using the CashFlowBBCC class, and writes the processed outputs as new CSV files (T1) in the same subdirectories. It is intended for batch processing and command-line execution.

Script example for Windows

Save a bat file and run using PowerShell

@echo off

REM Activate virtual environment
call C:\path\to\repo\.venv\Scripts\activate.bat

REM set script arguments
set FOLDER=C:/path/to/folder

REM run as module
python -m babilonia.utils.util_parse_bbcc "%FOLDER%"
Script example for Linux

Save a sh file and run using Terminal

#!/usr/bin/env bash

# Activate virtual environment
source /path/to/repo/.venv/bin/activate

# Set script arguments
FOLDER="/path/to/folder"

# Run as module
python -m babilonia.utils.util_parse_bbcc "$FOLDER"

Functions

babilonia.utils.util_parse_bb.get_arguments()[source]#
babilonia.utils.util_parse_bb.main()[source]#