Python modules and scripts to download and convert bank statements.
I'm using uv to create a virtual environment and install the dependencies:
$ uv venv
$ source .venv/bin/activate
$ uv syncI 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
Two entry points, pybank-convert and pybank-fetch. Run either with
--help for details.
$ uv run pybank-convert -i dkb-checking "$file" > "$outfile"$ uv run pytest
$ uv run ruff check
$ uv run ruff formatThe selenium scrapers under src/pybank/download are unmaintained. They are
kept for reference until replaced, see docs/plans. They need:
$ brew install geckodriver chromedriver