import random import time import xlsx import pandas as pd from docxtpl import DocxTemplate # Source Excel - column names that must match the *** that are {{***}} inside