Skip to main content

IBAN validation tool in Python

Project description

PyBan

Python IBAN validation tool. Checks general format, various country-based formatting rules, and includes general mod-97 validation.

Basic usage

from pyban.iban import IBAN

try:
    iban = IBAN('BG18RZBB91550123456789')
except ValueError as e:
    # Handle error
    pass
    
return iban.formatted  # Return readable IBAN number

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

pyban-swift-0.1.1.tar.gz (3.9 kB view hashes)

Uploaded Source

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