Skip to main content

Build Status Build status Documentation Status License: GPLv3 Organization Views PRs Welcome GitHub pull-requests Language

pytekswift.

TralahTek TralahM TralahM

Documentation

Documentation

ISO 9362 defines a standard format of Business Identifier Codes (also known as SWIFT-BIC, BIC, SWIFT ID or SWIFT code) approved by the International Organization for Standardization (ISO). It is a unique identification code for both financial and non-financial institutions. The acronym SWIFT stands for the Society for Worldwide Interbank Financial Telecommunication. The ISO has designated SWIFT as the BIC registration authority. When assigned to a non-financial institution, the code may also be known as a Business Entity Identifier or BEI. These codes are used when transferring money between banks, particularly for international wire transfers, and also for the exchange of other messages between banks. The codes can sometimes be found on account statements.

Structure.

The previous edition is ISO 9362:2009 (dated 2009-10-01). The SWIFT code is 8 or 11 characters, made up of:

  • 4 letters: institution code or bank code.
  • 2 letters: ISO 3166-1 alpha-2 country code (exceptionally, SWIFT has assigned the code XK to Republic of Kosovo, which does not have an ISO 3166-1 country code)
  • 2 letters or digits: location code
    • if the second character is "0", then it is typically a test BIC as opposed to a BIC used on the live network.
    • if the second character is "1", then it denotes a passive participant in the SWIFT network
    • if the second character is "2", then it typically indicates a reverse billing BIC, where the recipient pays for the message as opposed to the more usual mode whereby the sender pays for the message.
  • 3 letters or digits: branch code, optional ('XXX' for primary office)

Where an eight digit code is given, it may be assumed that it refers to the primary office.

How to Install

# In terminal do:
$ pip install pytekswift

Building from Source for Developers

$ git clone https://github.com/TralahM/pytekswift.git
$ cd pytekswift
$ python setup.py install

Contributing

See the Contributing File

See the Pull Request File

Support

LICENCE

Read the license here

Self-Promotion

TralahM TralahM

Blog

TralahTek

Release files for pytekswift 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytekswift 0.1.7
File Size Uploaded
pytekswift-0.1.7.tar.gz 558.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytekswift 0.1.7
File Interpreter ABI Platform
pytekswift-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / pytekswift-0.1.7.tar.gz

Download URL pytekswift-0.1.7.tar.gz
Size 558.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6b5794363c5dcbd71fa623ef5f03203a618456abeefeeddcb210e03030824273
BLAKE2b-256 checksum
How to use checksums
814bedea99bbfddeac5910113c62b3b05c4ec5ed466eee0653274b8adb47fc2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.3

Release files / pytekswift-0.1.7-py3-none-any.whl

Download URL pytekswift-0.1.7-py3-none-any.whl
Size 616.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08357991bab459ccc65e53bdf92bfb46809ff575eb24f5fe9a3af175c8c874b7
BLAKE2b-256 checksum
How to use checksums
2221e921cf9f65d2115e201c62ae4cf2d331054404610247d68475ba91626422
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.3

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

1 release file

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page