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
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ausData-0.0.4-py3-none-any.whl.
File metadata
- Download URL: ausData-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
757b82808516d0fee3a87922a1db59b93779ebc949b31352d146da5b6fecf1cd
|
|
| MD5 |
ec1fca957ad28a4e4ef88302a2a840a8
|
|
| BLAKE2b-256 |
1d7c485fc571ce7863ef3585fb02acd06d0c7204780c6141227bf0440e6fc0d9
|