Parse BBVA monthly reports directly to a Dataframe
Project description
BBVA reports extractor
Library + script to extract your bank account movements from the pdf reports that BBVA provides each month. Export it to csv or sqlite.
A Grafana dashboard is provided to visualize this data.
Dependencies
The following libpoppler dependencies are needed for pdftotext:
sudo apt install build-essential libpoppler-cpp-dev pkg-config python3-dev
Downloading the reports
In 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:
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
python3 -m unittest discover tests
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bbva2pandas-1.0.0.tar.gz
(16.9 kB
view hashes)
Built Distribution
Close
Hashes for bbva2pandas-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f8630bc7ea3764684144ab79e8e77429d223cc828f56e244db0d7408635debc |
|
MD5 | ad332209ef743b829d828438d828e299 |
|
BLAKE2b-256 | 56dbbcf9971f72f91d2c224be70d61bc5a567640ef0da405cb8c99ea14befb77 |