Skip to main content

Check if a IBAN bank account number is valid

Project description

IBAN Check

Python Package Check

Use ibancheck to validate IBAN bank account numbers.

Usage

There are currently to main purposes of this module:

  1. Validating an IBAN number: is_valid("NL00 BANK 1122 3344 55"). Will return True or raise a ValueError.
  2. Creating an IBAN number and create a checksum: create_iban("NL", "BANK1122334455").

Testing

Testing is done in a selftest manner. So tests are in the code and are run on import. To test manually do python3 -c 'import ibancheck'

References

The International Bank Account Number is described by European Committee For Banking Standards in EBS204 v3.2 August 2003 The official registry is in ISO 13616

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

ibancheck-0.1.1.tar.gz (45.5 kB view hashes)

Uploaded Source

Built Distribution

ibancheck-0.1.1-py3-none-any.whl (34.4 kB view hashes)

Uploaded Python 3

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