First:
sudo apt-get install libusb-dev pcscd libpcsclite-dev libccid swig python-tk sqlite3
Then:
pip3 install PySimpleGUI --user
pip3 install pyscard --user
pip3 install simple_term_menu --user
For create_results_matrix.py:
import time
import pprint
import sqlite3
import sys
import json
import os
import datetime
import pandas as pd
import numpy as np
from simple_term_menu import TerminalMenu
Plug in the reader:
Use ./register_runner.py to associate guids with names
Use ./race_timing.py for races
Data including race.db is in the data folder. At present, read the code for further enlightenment. You may need lsusb and udevadm to work out whether the reader is registered and/or persuade it to register.