Skip to main content

Generate and validate Australian related data such as ABN, ACN, TFN.

Project description

ausData

This is a simple python module to generate and validate Australian related data such as ABN, ACN and TFN.

Installation

Run the following to install:

pip install ausdata

Usage

from ausData import acn,abn,tfn

#Generate
fakeAbn = abn.generate()
fakeAcn = acn.generate()
fakeTfn = tfn.generate()

print(fakeAbn, fakeAcn, fakeTfn) #return string data type

#Validate - Accept both int or str
abnCheck = abn.validate(fakeAbn)
acnCheck = acn.validate(fakeAcn)
tfnCheck = tfn.validate(fakeTfn)

print(abnCheck, acnCheck, tfnCheck) #return boolean True/False

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ausData-0.0.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file ausData-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ausData-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.6

File hashes

Hashes for ausData-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ed6617afa54fac46097c9c18a61bad9083771f14fdfd1548aa20d201ca41e92b
MD5 c87dc7ffd44162cc23b236b59950bfd8
BLAKE2b-256 393801a8124d56caa1d3a9c0247cb110e6fd26c407b4b9b3fbcf3698bb847008

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