https://github.com/blalop/bbva2pandas
Extract the data from your BBVA's monthly statements
https://github.com/blalop/bbva2pandas
bank bank-account bbva data-extraction extracted-data pandas
Last synced: 5 months ago
JSON representation
Extract the data from your BBVA's monthly statements
- Host: GitHub
- URL: https://github.com/blalop/bbva2pandas
- Owner: blalop
- License: gpl-3.0
- Created: 2020-08-08T19:52:34.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-08-12T14:05:24.000Z (about 1 year ago)
- Last Synced: 2025-04-17T18:16:24.428Z (6 months ago)
- Topics: bank, bank-account, bbva, data-extraction, extracted-data, pandas
- Language: Python
- Homepage: https://pypi.org/project/bbva2pandas/
- Size: 122 KB
- Stars: 7
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# BBVA reports extractor
[](http://mypy-lang.org/)
[](https://www.python.org/)Library + script to extract your bank account movements from the pdf reports that BBVA provides each month. Export it to csv or sqlite.
## Dependencies
The following libpoppler dependencies are needed for pdftotext:
```bash
sudo apt install build-essential libpoppler-cpp-dev pkg-config python3-dev
```## Downloading the reports
In [bbva.es](https://bbva.es), login and go to Posición global > Cuentas y Tarjetas > Ficha. Then click Operaciones > Extracto mensual cuentas. Ready to go!
## Using the libray
Just provide the filepath:
```python
import bbva2pandas
dataframe = bbva2pandas.Report('myfile').to_df()
```## Running the script
The provided script loads all the PDFs in the provided directory and generates a CSV/sqlite file
```
usage: bbva2pandas [-h] [--output_filename OUTPUT_FILENAME] directory {csv,sqlite}
bbva2pandas: error: the following arguments are required: directory, output_format
```## Testing
Run
```bash
python3 -m unittest discover tests
```