mt103
Parse MT103 messages from the Swift payments network
What’s an MT103?
Banks don’t really deal with cash much any more. Instead, they push bits around the internet tracking where your money goes digitally. The network that handles much of that movement is called Swift, and the transfers are documented in a special format native to that network called MT103.
What’s this Do?
Unfortunately, MT103 isn’t a common standard for most software developers. It’s ugly & hard to read for humans and not at all easy to parse. This library attempts to fix that, so all you have to do is pass an MT103 string into it and you get back a native Python object with the properties you’re looking for.
mt103 = MT103("some-mt-103-string")
print("basic header: {}, bank op code: {}, complete message: {}".format(
mt103.basic_header,
mt103.text.bank_operation_code
mt103
))
Installation
It’s on PyPi, so just install it with pip.
$ pip install mt103
Metadata
Release files for mt103 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mt103-0.0.1.tar.gz | 3.7 kB | Without provenance | Details for mt103-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mt103-0.0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for mt103-0.0.1-py2.py3-none-any.whl |
Total release size: 8.5 kB
Release files / mt103-0.0.1.tar.gz
| Download URL | mt103-0.0.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
253f8aede97167992910dde6b5b3f75339d26fc75b124b528a166f3dc3cb4f4e
|
|
BLAKE2b-256 checksum How to use checksums |
67b19d6212ccc8b7e7623dd49bdc03bd9c9948479e6b9b3a2002d4cccbf3eb47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / mt103-0.0.1-py2.py3-none-any.whl
| Download URL | mt103-0.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9bc17c881d9b27cf5680576eadfb595ef92dda8dd1832588ad1aa297e238b563
|
|
BLAKE2b-256 checksum How to use checksums |
1c5829cec68734c0ef5aa1fdb1a4b084f5a9b258c866cecd379654d7f9f29b83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mt103 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.