Get all the mappings of given pins The Python sqlite3 module is not required, so easily to use in Clouds (no additional dependencies) Works with 3.9, 3.10, 3.11, 3.12 ...