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.1.tar.gz (1.6 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for ABN-0.1.tar.gz
Algorithm Hash digest
SHA256 b14e2c3a8b02f43980bfd869c1295d66e8e8cd1406f278318c50e5ca3917b6f5
MD5 2e53bf616ce6f035af4659658a273979
BLAKE2b-256 e1f69f5efd3d08894e7384120a2667aad2613e8447dcb8a296f3783544630ed0

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