Skip to content
Convert Bundesbank banking export to a SQLite database
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bundesbank_to_sqlite
tests
.gitignore
LICENSE
README.md
setup.py

README.md

Bundesbank to sqlite

About

The German Bundesbank releases every quarter of a year a list of all banks in Germany. This script converts the xslx file to a sqlite database.

Download source data

https://www.bundesbank.de/en/tasks/payment-systems/services/bank-sort-codes/download-bank-sort-codes-626218

choose the XLS version of Bank sort code files, unpacked

install

python setup.py install

Convert downloaded file

bundesbank-to-sqlite convert blz.db blz-aktuell-xls-data.xlsx

Use with Datasette

install Datasette:

pip install datasette

run with Datasette:

datasette blz.db

Example queries

Run some queries in Datasette.

http://localhost:8001/blz/bundesbank_blz?blz=10000000
http://localhost:8001/blz/bundesbank_blz?bic=MARKDEF1100
http://localhost:8001/blz/bundesbank_blz?city=Berlin
http://localhost:8001/blz/bundesbank_blz?zipcode=10117

(this are the same examples as in deprecated banking_api)

Thanks

Simon Willison for Datasette and sqlite-utils.

You can’t perform that action at this time.