Skip to content

braidonw/abr_lookup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This lib is designed to help find ABNs for companies in Australia. It can perform searches on both Name and ABN, and will return an ABR Record for the best match.

Usage

The base class is the fetcher, which is imported from fetcher.py.

Basic usage is the following:

from abr import fetcher

f = Fetcher()
items_to_search_for = ["97785358970", "Secus Digital"]
for item in items_to_search_for:
    f.search(item)

If you need to find many ABNs at a time, you can perform searches in parallel:

from abr import fetcher

f = Fetcher()
items_to_search_for = ["97785358970", "Secus Digital"]
f.parallel_search(items)

Example ABR Record

An ABR Record looks like the following:

class AbrRecord(NamedTuple):
    abn: str
    name: str
    is_active: bool
    trading_name: str
    entity_type: str
    address_state: str
    address_postcode: str
    is_acnc_registered: bool
    charity_type: str
    tax_concessions: List[str]
    is_gst_registered: bool

About

Python library to lookup ABR Details

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages