Hello, I have exported Twixtel data before and can do it again for you. The only caveat is that I don't use python for this. However, I can provide the extracted data in any format you like. Right now I have exported them as CSV but could easily transform them into SQLite or similar if you wish. Please get back to me if you are interested... I could deliver within 2 days.
I have exported this count of datasets:
Aargau (AG) 275008, Appenzell Ausserrhoden (AR) 28069, Appenzell Innerrhoden (AI) 7519, Basel-Landschaft (BL) 134356, Basel-Stadt (BS) 94989, Bern (BE) 501143, Freiburg (FR) 130302, Fürstentum Liechtenstein (FL) 18735, Genf (GE) 206824, Glarus (GL) 19492, Graubünden (GR) 120926, Jura (JU) 34739, Luzern (LU) 177152, Neuenburg (NE) 82512, Nidwalden (NW) 20487, Obwalden (OW) 18205, Schaffhausen (SH) 36794, Schwyz (SZ) 68437, Solothurn (SO) 121270, St. Gallen (SG) 222744, Tessin (TI) 175480, Thurgau (TG) 117529, Uri, (UR) 16608, Waadt (VD) 341074, Wallis (VS) 162846, Zug (ZG) 59395, Zürich (ZH) 637908, total 3830543