Swift Mt103

0 views
Skip to first unread message

Nikita Desjardins

unread,
Aug 5, 2024, 6:35:24 AM8/5/24
to itcritenker
Haveyou seen this PyPi library? According to the flyer it promises you can read in a MT103 file and parses it into a native Python object. It seems like it's not going to be much easier than this?[EDIT]

In the following code example I tried the mt103 library for myself using PyPi (sudo pip install mt103). I did not however have a valid mt103 example file at hand, so I got some dummy data instead. This seemed to work a little, except for my file not having a bank_operation_code. Do note however that I did NOT get an error when providing a valid but otherwise incorrect string. The library does not check for mt103 validity. It shows when inspecting the object after initialization only to find that the text and header attributes are empty.

3a8082e126
Reply all
Reply to author
Forward
0 new messages