Created: 2012-03-20 11:31
Updated: 2019-02-15 07:46


python EMV utilities using the pyscard smartcard interface

2012 - 2018
David Barkhuizen

Parts of this code were developed using time contributed by:


pyscard - python smart card library

py_emv_utils makes use of the pyscard library to interact with the smartcard at the APDU level and so pyscard must be installed first.

the pyscard project appears to currently be actively managed at github by Ludovic Rousseau

it was originally authored by Jean-Daniel Aussel (
and was available from sourceforge @
with a project page @

it appears that there is a mirror of this original source available from github:


ubuntu (debian) linux

$ sudo apt install pcscd
$ sudo apt install python-pyscard


  1. install pip
    $ pip install bdist_mpkg

  2. install swig
    $ ruby -e "$(curl -fsSL" < /dev/null 2> /dev/null
    $ brew install swig

  3. install pyscard
    $ pip install pyscard


$ python3

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more