https://github.com/cburmeister/iban
A simple script that verifies an international bank account number (IBAN).
https://github.com/cburmeister/iban
Last synced: 18 days ago
JSON representation
A simple script that verifies an international bank account number (IBAN).
- Host: GitHub
- URL: https://github.com/cburmeister/iban
- Owner: cburmeister
- Created: 2015-06-05T19:15:19.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-26T20:16:11.000Z (over 9 years ago)
- Last Synced: 2025-02-15T07:21:28.114Z (2 months ago)
- Language: Python
- Homepage:
- Size: 133 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
iban
===========A simple script that verifies an international bank account number (IBAN).
---
## Usage
```bash
>>> import iban
>>> iban.verify('NL02 ABNA 0123 4567 8999')
False
>>> iban.verify('MU17BOMM0101101030300200000MUR')
True
>>>
```If you wish to include the list of catalogued IBANs from
[Nordea](https://en.wikipedia.org/wiki/Nordea):```bash
>>> import iban
>>> iban.verify('DZ4000400174401001050486')
False
>>> iban.verify('DZ4000400174401001050486', nordea=True)
True
>>>
```