Skip to main content

Sample Python Project for creating a new Python Module

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

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 Distribution

bsb_lookup-0.0.4rc162.post1.tar.gz (260.0 kB view hashes)

Uploaded Source

Built Distribution

bsb_lookup-0.0.4rc162.post1-py3-none-any.whl (261.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page