The Bank Statement Analyzer is a Python-based application that extracts, parses, and analyzes transactions from PDF bank statements. It provides detailed analysis including negative balances, total revenue, deposit counts, repeating withdrawals, and average revenue for each month.
- Extract text from PDF bank statements
- Parse transactions and categorize them by month
- Analyze transactions to provide insights
- Negative balances
- Total revenue
- Deposit count
- Repeating withdrawals
- Average revenue
-
Clone the repository:
git clone https://github.com/yourusername/bank_statement_analyzer.git
-
Navigate to the project directory:
cd bank_statement_analyzer
-
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate # On macOS/Linux
-
Install the required packages:
pip install -r requirements.txt
-
Run the
analyze_bank_statements.py
script:python analyze_bank_statements.py
-
Enter the path of the bank statement PDF when prompted:
Enter the path of the bank statement PDF: /path/to/your/bank_statement.pdf
-
View the analysis results printed in the terminal.
bank_statement_analyzer/
│
├── app.py
├── analyze_bank_statements.py
├── templates/
│ ├── index.html
│ └── result.html
├── requirements.txt
└── README.md