Skip to main content

"Database and Utilities for SWIFT (The Society for Worldwide Interbank Financial Telecommunication), a network that enables financial institutions worldwide to send and receive information about financial transactions in a secure, standardized and reliable environment."

Project description

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

Project details


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

pytekswift-0.1.6-py3-none-any.whl (616.7 kB view details)

Uploaded Python 3

File details

Details for the file pytekswift-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: pytekswift-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 616.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.3

File hashes

Hashes for pytekswift-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 13270a2cd7e9242dea71ea4c92c33c9de51f80b2baaf4a4f69a01248f38ed62f
MD5 4ea087cf7ef288c86185497e2550dfee
BLAKE2b-256 346b871b16b5dd3e49d0aab1ecaaba712361fd580dad0aaebc9ac7689876dc27

See more details on using hashes here.

Supported by

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