Simple GUI for checking names against the UNSC Sanctions List and generating reports.
Uses fuzzy matching score for hits. For single name matches, we recommend using 90 Score.
Loads sanctions list in xml format. You can supply your own list or download it from the UNSC website from within the program.
Comes with a list, but you should probably download the newest version the first time you run the program.
Also included wkhtmltopdf.exe, downloaded from wkhtmltopdf.org, used by pdfkit for generating pdf reports. You can download it again and overwrite it if you don't feel confortable using the supplied one.
To install the package:
pip install unsc_sanctions_checker
You can run the script from the terminal:
unsc
In python you can do:
import unsc_sanctions_checker
unsc_sanctions_checker.run()
To create a runnable executable file with python and all dependencies included, in terminal run:
python exe_setup.py py2exe
The contents will be output to '/exe_dist'. Running unsc_sanctions_checker.exe will start the program.
Exiting the program will always create a warning and log file about not having python-levenshtein installed, due to package fuzzywuzzy.