8000 GitHub - thowi/pybank: Python modules and scripts to download bank account data from banking websites. · GitHub
[go: up one dir, main page]

Skip to content
thowiPublic

About

Python modules and scripts to download bank account data from banking websites.

Resources

Stars

4 stars

Watchers

2 watching

Forks

Repository files navigation

Python modules and scripts to download and convert bank statements.

Set up the virtual environment and install requirements.

I'm using uv to create a virtual environment and install the dependencies:

$ uv venv
$ source .venv/bin/activate
$ uv sync

I recommend using (direnv)[https://direnv.net/] to automatically activate the environment in your shell when entering the directory. Setup for this project:

$ echo 'export VIRTUAL_ENV=".venv"\nlayout python' > .envrc
$ direnv allow

Run

Two entry points, pybank-convert and pybank-fetch. Run either with --help for details.

$ uv run pybank-convert -i dkb-checking "$file" > "$outfile"

Development

$ uv run pytest
$ uv run ruff check
$ uv run ruff format

Web scrapers

The selenium scrapers under src/pybank/download are unmaintained. They are kept for reference until replaced, see docs/plans. They need:

$ brew install geckodriver chromedriver

About

Python modules and scripts to download bank account data from banking websites.

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages

0