Skip to main content

The pyblz distribution

Wrapper around the BLZ data from the Deutsche Bundesbank: http://www.bundesbank.de/Redaktion/DE/Standardartikel/Kerngeschaeftsfelder/Unbarer_Zahlungsverkehr/bankleitzahlen_download.html

(The currently packaged file version is BLZ_20120903.txt.)

This package provides a dict of the bank information, keyed by BLZ.

>>> import pyblz
>>> banks = pyblz.bank_data()
>>> len(banks)
4098
>>> banks['64150020']
{'bic': u'SOLADES1TUB',
 'blz': u'64150020',
 'change_type': u'U',
 'checksum_type': u'01',
 'city': u'T\xfcbingen',
 'delete_type': u'0',
 'name': u'Kreissparkasse T\xfcbingen',
 'next_blz': u'00000000',
 'pan': u'56008',
 'record_number': u'002683',
 'shortname': u'Kr Spk T\xfcbingen',
 'type': u'1',
 'zip': u'72008'}

In case this package is not kept up to date, you can parse a different file:

>>> import pyblz.parse
>>> banks = pyblz.parse.parse('another-file.txt')

Developing pyblz

Author:

Wolfgang Schnerring <ws@gocept.com>

PyPI page:

http://pypi.python.org/pypi/pyblz/

Source code:

https://bitbucket.org/gocept/pyblz/

Change log for pyblz

20120903-r1 (2013-11-26)

  • Fixed dependency on setuptools.

20120903 (2012-09-19)

initial release

Release files for pyblz 20120903-r1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyblz 20120903-r1
File Size Uploaded
pyblz-20120903-r1.tar.gz 379.8 kB Details

Release files / pyblz-20120903-r1.tar.gz

Download URL pyblz-20120903-r1.tar.gz
Size 379.8 kB
Tags Source
SHA-256 checksum
How to use checksums
04c532604a47c26945c15b952e79635381130c9327581673724b284a9c6adae7
BLAKE2b-256 checksum
How to use checksums
abdbc1b134a2a9262fb12619c67ad0e712926cf3198545f93970899bddf110d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

20120903-r1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page