PCSC Sample in Python Using Python-Pcsclite
PCSC Sample in Python Using Python-Pcsclite
更多 下一个博客» 创建博客 登录
Here is a new PCSC sample in Python language for the series PC/SC sample in different languages. Follow
I already presented, pyscard, a Python wrapper in "PCSC sample in Python". This wrapper is a different
implementation and API.
Blog Archive
https://ludovicrousseau.blogspot.jp/2014/12/pcscsampleinpythonusingpython.html 1/2
12/14/2017 Ludovic Rousseau's blog: PCSC sample in Python using pythonpcsclite
Hello world!? Posts
48656c6c6f20776f726c64219000
Comments
The pythonpcsclite project started in 2007 according to the ChangeLog.txt file. I discovered the project only Ludovic Rousseau b…
very recently and open some bugs to make it build on my Debian system. Russell Stuart, the maintainer, was
very fast to fix the issues. Follow
Compared to pyscard
pythonpcsclite does not build on Mac OS X (see bug #5). I guess it also does not build on Windows but I
have not tested it myself. So if you want a Python wrapper for GNU/Linux, Mac OS X and Windows you
should use pyscard instead.
pythonpcsclite may provide good ideas that I could reuse in pyscard :)
History
The pythonpcsclite project started in 2007. At the same time the pyscard project is made public (according to 336 have us in View
the dates in the subversion repository but I guess the pyscard project was already developed since some circles all
time).
The obvious question is why use pythonpcsclite instead of the official one. Pythonpcsclite is a
fairly direct implementation of C API provided by pcsclite, so direct the documentation for
pcsclite applies to pythonpcsclite. Pyscard on the other hand builds on pcsclite to provide it's
own abstractions. I suspect the choice is more a matter of taste, and being an old C
programmer I prefer the directness of the C API, which pythonpcsclite emulates.
You have the freedom to select the wrapper you want to use. Compare the sample code above with the 2
examples at my previous article PCSC sample in Python to select the implementation you prefer.
Conclusion
I have not seen any advertising of this project on the Muscle mailing list. The project works fine (as far as I
tested) and may benefit to be used by more users.
Bitcoin
License: byncsa
This blog by Ludovic Rousseau is licensed under a Creative Commons AttributionNonCommercialShareAlike 3.0 Unported License.
https://ludovicrousseau.blogspot.jp/2014/12/pcscsampleinpythonusingpython.html 2/2