Skip to main content

Lookup and enrich Australian BSBs

Project description

BSB Lookup

pypi versions license downloads Checked with mypy Linting: Ruff

Australian Bank State Branch number enricher used for validating and looking up bank names given a BSB number. Ideal for financial applications, banking software, and fintech solutions.

Table of Contents

Installation

Before installing, ensure you have Python 3.x installed on your system. You can install BSB Lookup using pip:

pip install bsb-lookup

Usage

Here's a simple example to get started with BSB Lookup:

from bsb import to_bank_info

result = to_bank_info(bsb="082055")

print(result)

# >>> BankInfo(
# ...     prefix_rule=BSBPrefixRule(key="NAB", abbreviation="National Australia Bank Limited", bsb_prefixes=["08"]),
# ...     directory_entry=BSBDirectoryRow(
# ...         bsb="082055",
# ...         financial_institution_code="NAB",
# ...         name="Private NSW Banking Suite",
# ...         street="Level 5 2 Carrington St",
# ...         suburb="Sydney",
# ...         state="NSW",
# ...         postcode="2000",
# ...         payments_flag="PEH",
# ...     ),
# ...     npp_support=NPPSupport.SUPPORTED,
# ... )

Background

A BSB, or Bank State Branch number, is a six-digit code used to identify the specific branch of an Australian bank or financial institution. The BSB is normally used in association with the account number system used by each financial institution.

image

Contributing

Contributions are welcome! If you have a suggestion or want to contribute code, please follow these steps:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -am 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For support or queries, reach out to ilan@refundid.com


Sponsored by Refundid the Best Returns Portal - Streamline your retail returns with Refundid, Australia's leading returns portal for retailers.

Project details


Release history Release notifications | RSS feed

This version

0.0.6

Download files

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

Source Distribution

bsb_lookup-0.0.6.tar.gz (262.2 kB view details)

Uploaded Source

Built Distribution

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

bsb_lookup-0.0.6-py3-none-any.whl (263.1 kB view details)

Uploaded Python 3

File details

Details for the file bsb_lookup-0.0.6.tar.gz.

File metadata

  • Download URL: bsb_lookup-0.0.6.tar.gz
  • Upload date:
  • Size: 262.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for bsb_lookup-0.0.6.tar.gz
Algorithm Hash digest
SHA256 142f45090633aa7af5b4b93002817babba7b60506964406c08294888aca517b1
MD5 565905eebd395b0ebcb1a2560b7f6dd8
BLAKE2b-256 4357e9195502d17575a5682f16ef6e865e29f87d84e94ff3b60cf0012d80f268

See more details on using hashes here.

File details

Details for the file bsb_lookup-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: bsb_lookup-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 263.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for bsb_lookup-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3b7956cae40926f4678209dd4f9149160a76aa056c34cac0aac855f38ae60a1f
MD5 83cc178c0a580e33531409ee75028491
BLAKE2b-256 a77f4f6ca1853b20a355bc5cbaa6555a46e345f5bb104942a80abec5bdb4fb12

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