CPU card [non-logic encryption card] operation library, providing support for PCSC/D8/D6/T6 readers
PySmartCard is a python library for reading and writing smart cards[CPU Card]. It provides support for PCSC/D8/D6/T6 readers for Windows and Linux systems, and encapsulates some commonly used algorithms for CPU cards, such as 3DES_ECB, 3DES_CBC, SM4, and MAC. For specific usage, please refer to the Example.py file in the installation directory.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.