pyscard - python smart card library - is a python module adding smart cards support to python.
https://pyscard.sourceforge.io/user-guide.html#pyscard-user-guide
Use python3 -m pip install pyscard
See INSTALL.md for more details.
- High level API samples: See https://pyscard.sourceforge.io/pyscard-framework.html#framework-samples
- Low level API samples: See https://pyscard.sourceforge.io/pyscard-wrapper.html#wrapper-samples