Parse MT103 messages from the Swift payments network
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mt103-0.0.1.tar.gz.
File metadata
- Download URL: mt103-0.0.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
253f8aede97167992910dde6b5b3f75339d26fc75b124b528a166f3dc3cb4f4e
|
|
| MD5 |
7974712f26d1f0e519bdb4c125e0e7e1
|
|
| BLAKE2b-256 |
67b19d6212ccc8b7e7623dd49bdc03bd9c9948479e6b9b3a2002d4cccbf3eb47
|
File details
Details for the file mt103-0.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: mt103-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bc17c881d9b27cf5680576eadfb595ef92dda8dd1832588ad1aa297e238b563
|
|
| MD5 |
a3d7838a4e554fe36896fdf167b26c2a
|
|
| BLAKE2b-256 |
1c5829cec68734c0ef5aa1fdb1a4b084f5a9b258c866cecd379654d7f9f29b83
|