It's a bit later than I anticipated, but I've settled on a very basic gpio control library for the time being, I tried a few different things but ran into issues specific to Python relating to global data only being global to the particuar script and…