# BBVA reports extractor
[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
[![Made with Python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/blalop/bbva2pandas",
"name": "bbva2pandas",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "bbva pdf bank regex",
"author": "Alejandro Blanco L\u00f3pez",
"author_email": "alexbl1996@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/22/83/1f52bbd3a2c2306f161b25282783ea4266333cb95272fe04b88c3b2e2518/bbva2pandas-1.1.2.tar.gz",
"platform": null,
"description": "# BBVA reports extractor\n[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)\n[![Made with Python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)\n\nLibrary + script to extract your bank account movements from the pdf reports that BBVA provides each month. Export it to csv or sqlite.\n\n## Dependencies\n\nThe following libpoppler dependencies are needed for pdftotext:\n\n```bash\nsudo apt install build-essential libpoppler-cpp-dev pkg-config python3-dev\n```\n\n## Downloading the reports\n\nIn [bbva.es](https://bbva.es), login and go to Posici\u00f3n global > Cuentas y Tarjetas > Ficha. Then click Operaciones > Extracto mensual cuentas. Ready to go!\n\n## Using the libray\n\nJust provide the filepath:\n\n```python\nimport bbva2pandas\ndataframe = bbva2pandas.Report('myfile').to_df()\n```\n\n\n## Running the script\n\nThe provided script loads all the PDFs in the provided directory and generates a CSV/sqlite file\n```\nusage: bbva2pandas [-h] [--output_filename OUTPUT_FILENAME] directory {csv,sqlite}\nbbva2pandas: error: the following arguments are required: directory, output_format\n```\n\n## Testing\n\nRun\n\n```bash\npython3 -m unittest discover tests\n```\n",
"bugtrack_url": null,
"license": "GPLv3+",
"summary": "Parse BBVA monthly reports directly to a Dataframe",
"version": "1.1.2",
"project_urls": {
"Homepage": "https://github.com/blalop/bbva2pandas"
},
"split_keywords": [
"bbva",
"pdf",
"bank",
"regex"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d215e911e0f20792e2110e8abced5e30fb2e3dc1f6d12a3ba0554f7f5fd1fbd6",
"md5": "525a62cdfce08eb2edcef491ba3391d2",
"sha256": "0cbed6533cb555881ca3d6236435a4845211cf9feaff72fcecc4f55b170dd58b"
},
"downloads": -1,
"filename": "bbva2pandas-1.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "525a62cdfce08eb2edcef491ba3391d2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 17562,
"upload_time": "2023-07-17T06:50:50",
"upload_time_iso_8601": "2023-07-17T06:50:50.659237Z",
"url": "https://files.pythonhosted.org/packages/d2/15/e911e0f20792e2110e8abced5e30fb2e3dc1f6d12a3ba0554f7f5fd1fbd6/bbva2pandas-1.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "22831f52bbd3a2c2306f161b25282783ea4266333cb95272fe04b88c3b2e2518",
"md5": "adefeeaa98d9efd9bb73bead5db35ef4",
"sha256": "bc9f05fff70d03f36051499bd625b0c6c52c1095ec77fb289bc341c7b5486f40"
},
"downloads": -1,
"filename": "bbva2pandas-1.1.2.tar.gz",
"has_sig": false,
"md5_digest": "adefeeaa98d9efd9bb73bead5db35ef4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 18133,
"upload_time": "2023-07-17T06:50:52",
"upload_time_iso_8601": "2023-07-17T06:50:52.067574Z",
"url": "https://files.pythonhosted.org/packages/22/83/1f52bbd3a2c2306f161b25282783ea4266333cb95272fe04b88c3b2e2518/bbva2pandas-1.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-17 06:50:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "blalop",
"github_project": "bbva2pandas",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "pandas",
"specs": [
[
"==",
"1.5.3"
]
]
},
{
"name": "numpy",
"specs": [
[
"==",
"1.24.3"
]
]
},
{
"name": "pdftotext",
"specs": [
[
"==",
"2.2.2"
]
]
}
],
"lcname": "bbva2pandas"
}