Check if a IBAN bank account number is valid
Project description
IBAN Check
Use ibancheck to validate IBAN bank account numbers.
Usage
There are currently to main purposes of this module:
- Validating an IBAN number:
is_valid("NL00 BANK 1122 3344 55")
. Will return True or raise a ValueError. - 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
Release history Release notifications | RSS feed
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 details)
Built Distribution
ibancheck-0.1.1-py3-none-any.whl
(34.4 kB
view details)
File details
Details for the file ibancheck-0.1.1.tar.gz
.
File metadata
- Download URL: ibancheck-0.1.1.tar.gz
- Upload date:
- Size: 45.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87a4670e56ad83a3aa551ad3c72bd1bb197a7756a2b2716ab2feb8a4968f875d |
|
MD5 | 7cd3002b8d496471b4c711e85ee2a0d7 |
|
BLAKE2b-256 | 7b3e24f3a9758cbd6387850a0604984ad9dd6b23265f0a290fb32875c7a73757 |
File details
Details for the file ibancheck-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: ibancheck-0.1.1-py3-none-any.whl
- Upload date:
- Size: 34.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c9111e875f45e8adbf8bc218033a8b4c8dd61b4623b6184748c2ee07d32cd08 |
|
MD5 | 86c80cdb86f67bcf734951867e9fbb0c |
|
BLAKE2b-256 | 5d1460b72c6bf0d4800fb84e1ae767f67b32a4b3ce7ea671774b3fb46da1cacd |