Skip to main content

Wrapper around BLZ data from Deutsche Bundesbank

Project description

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 (2012-09-19)

initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyblz-20120903.tar.gz (379.0 kB view details)

Uploaded Source

File details

Details for the file pyblz-20120903.tar.gz.

File metadata

  • Download URL: pyblz-20120903.tar.gz
  • Upload date:
  • Size: 379.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyblz-20120903.tar.gz
Algorithm Hash digest
SHA256 92e81cae435b7a14c91948db99c27538606a7aa4e6c54fc7241025784bcf579c
MD5 66b55d7ad34528543a87dbb453a01b73
BLAKE2b-256 011ebd0db8427c869aea786fe95d4263bea318fbc4a856ca777087a0014ae972

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page