it may be too late to answer, but if you are still interested, this is what you are looking for:
https://github.com/LudovicRousseau/pyscard
Greetings.