The python demo for template side channel attacks with power traces. You should install the required packages with requirements.txt first. The data, which should be placed under the ./data folder, can be downloaded from HERE