Get schwifty with IBANs and BICs#

Release v2024.1.1.post1.dev7+ga8bc65a (What’s new)

schwifty is a Python library that let’s you easily work with IBANs and BICs as specified by the ISO. IBAN is the Internation Bank Account Number and BIC the Business Identifier Code. Both are used for international money transfer.

Features#

schwifty lets you

  • validate check-digits and the country specific format of IBANs

  • validate format and country codes from BICs

  • generate BICs from country and bank-code

  • generate IBANs from country-code, bank-code and account-number.

  • get the BIC associated to an IBAN’s bank-code

  • access all relevant components as attributes

See the docs for more inforamtion.

Installation#

To install schwifty, simply:

$ pip install schwifty

Note

Starting from version 2021.01.0 schwifty only supports Python 3.6+

API documentation#