Skip to content

Saivivek-Peddi/mt940_mt942_website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MT940 & MT942 Parser

Description

Dashboard for uploading MT940 or MT942 messages and convert them in Excel.

File Upload Script which built on Python Flask and jQuery-File-Upload with multiple file selection, drag&drop support, progress bars.

Setup

  • Create virtual enviroment (use virtualenv) and activate it.

  • Then install python packages:

$ pip install -r requirements.txt
  • Go to site-packages and replace mt940 folder with mt940 from the repository.

  • Run it:

$ python app.py

If the regex didn't work for your case. Change the reg-exp, pertaining to your case, in mt940/parser.py. Here it's:

{1:[^<>]*?-}

Finds between splits each transaction between {1: and -}. In your case it can be between {1: and }{5:

Frontend-Credits: https://github.com/ngoduykhanh/flask-file-uploader

Lib-Credits: https://github.com/WoLpH/mt940

About

Bank swift messages - mt940 and mt942 - messages parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published