Skip to main content

This package validates Australian Business Numbers (ABNs) and converts Australian Company Numbers (ACNs) or Australian Registered Body Numbers (ARBNs) to ABNs.

The following example show checking of a valid and an invalid ABN:

>>> import abn
>>> abn.validate('53004085616')
'53 004 085 616'

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

To calculate the ABN based on an existing ACN or ARBN:

>>> abn.acn_to_abn('004085616')
'53 004 085 616'

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for ABN-0.3.1.tar.gz
Algorithm Hash digest
SHA256 7114340f556c4cf4f904fabfbd10d286c855e3f746dc9e7c82e18403f43e07a4
MD5 b4abd8fa7114770054bdf4d9231a268f
BLAKE2b-256 7ffeea700d13110ef89e3c9014897f69b7de8c9bc71f35d1451c72d94918f30f

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