Whole script in the isindb.py file. This script can be used to turn any list of CUSIP company identifiers into a cleaned list of the same company's ISIN identifiers. I created my list of CUSIPs from ...
This will download latest ISIN LEI mappings into resources directory. This is only necessary if you want to use ISIN LEI conversion.