Just an interface for IBAN providers
Clone or download
Nathan Abu
Latest commit cb12ac2 May 8, 2015

README.rst

OpenIBAN - Python IBAN library

OpenIBAN is a generic library for interacting with various (currently only openiban.com) IBAN providers.

Off line IBAN validation

from openibanlib import openiban
# By trying to initialize an IBAN object
>>> try:
        openiban.IBAN('DE89370400440532013000')
    except IBANFormatValidationException:
        print("Invalid IBAN provided")
# Or using a static method
>>> openiban.IBAN.format_validate('DE89370400440532013000')
True
...

On line (using an IBAN provider) validation

from openibanlib.providers.OpenIBAN import OpenIBAN
...

Installation

To install simply (coming soon):

$ pip install openiban-lib