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.
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
Docker
Build and run with Docker (no local dependencies required):
# Build the image
make build
# Run on PDFs in the current directory
make run
# Run tests
make test
# Or use docker directly:
docker run --rm -v "$PWD:/data" bbva2pandas /data csv
Testing
# Locally
python3 -m unittest discover tests
# With Docker
make test
Metadata
Release files for bbva2pandas 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bbva2pandas-1.2.0.tar.gz | 18.5 kB | Without provenance | Details for bbva2pandas-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bbva2pandas-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for bbva2pandas-1.2.0-py3-none-any.whl |
Total release size: 36.3 kB
Release files / bbva2pandas-1.2.0.tar.gz
| Download URL | bbva2pandas-1.2.0.tar.gz |
|---|---|
| Size | 18.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3f805f0575046146285db29ae0bcb29abbc779a0823163435215b42cb562890
|
|
BLAKE2b-256 checksum How to use checksums |
c1409435ca303e268165fed0998238ea9079aa3a0935faa948dfc904f999c7aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / bbva2pandas-1.2.0-py3-none-any.whl
| Download URL | bbva2pandas-1.2.0-py3-none-any.whl |
|---|---|
| Size | 17.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26a3f93b5395c6df91658e09eb08e8316a288502eb4fe9f53e944ae29d3d946c
|
|
BLAKE2b-256 checksum How to use checksums |
04434094510c0a8256c64692db079f5617355e75f0736f35fb90a686d77e48b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for bbva2pandas 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.