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 details)

Uploaded Source

File details

Details for the file pyban-swift-0.1.1.tar.gz.

File metadata

  • Download URL: pyban-swift-0.1.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for pyban-swift-0.1.1.tar.gz
Algorithm Hash digest
SHA256 82e5ee33cd9feb6cbc7fb606cdb0e808ef098e723378268f599381aadbe0c15c
MD5 7f5837cbd3a27085cdfc22b9e0ae9413
BLAKE2b-256 825dd706ec662c45fcd3af70edc1714191da7d08f059859c85df3c58559db9d9

See more details on using hashes here.

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