Skip to main content

This package validates Australian Business Numbers (ABNs).

Here’s an example of checking both a valid and an invalid ABN:

>>> import abn
>>> abn.validate('51824753556')
'51 824 753 556'

>>> abn.validate('99999999999')
False

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ABN-0.2.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file ABN-0.2.tar.gz.

File metadata

  • Download URL: ABN-0.2.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ABN-0.2.tar.gz
Algorithm Hash digest
SHA256 2a4a8ab758ec73179fc153078b746dab9b678f4b9c303fed7f1aa8db985ba50f
MD5 e5d4b649cad3998ebd6307e918c16b6e
BLAKE2b-256 2a244f07404c069a9ccbabea8e1e9436110f0d1a5e7137633fe31510247b941b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page