[Pcsclite-muscle] PySCard 2.2.2 released

Ludovic Rousseau ludovic.rousseau at gmail.com
Sun Apr 13 09:26:33 PDT 2025


Hello,

I just released a new version 2.2.2 of pyscard. PySCard is a python
module adding smart cards support (PC/SC) to Python.

The PySCard project is available at:
- pypi https://pypi.python.org/pypi/pyscard
- github https://github.com/LudovicRousseau/pyscard
- sourceforge https://sourceforge.net/projects/pyscard/

https://blog.apdu.fr/posts/2025/04/new-version-of-pyscard-222/

It looks like the latest annonce on this list was about version 2.0.3. Oops!

Changes:
2.2.2 (April 2025)
==================
   * add .release() method to CardConnection & PCSCCardRequest
   * add context manager protocol to CardRequest & CardService
   * fix some parallel execution issues
   * PCSCCardRequest: correctly initialize waitforcardevent()
   * user-guide: Update documentation
   * Minor changes

2.2.1 (January 2025)
====================
- patches from Ludovic Rousseau
   * waitforcardevent(): do not miss events between 2 calls
   * Use Windows locale to decode Unicode text
   * ACKS: add missing contributors
- patches from Kurt McKee
   * Test, fix, and simplify ATR parsing

2.2.0 (October 2024)
====================
- patches from Ludovic Rousseau
   * PCSCCardRequest:
    - handle KeyboardInterrupt in waitforcard() & waitforcardevent()
    - use a local PC/SC context to avoid locks
   * smartcard.util.padd(): do NOT modify the input parameter
   * CardMonitoring: a timeout exception IS expected
   * Fix pydoctor documentation
   * wx: fix module and examples
   * Minor changes
- patches from Kurt McKee
   * Remove Python 2 conditional code
   * Eliminate Windows Vista and Windows 7 conditionals
   * Test and improve the synchronization code
   * Test and update the `Observer.py` code
   * Remove `ClassLoader.py`
   * Migrate a `src/` layout
   * Migrate test/* from unittest to pytest
   * Add missing GSM 03.38 symbols for decoding
   * Support only Python 3.9 and higher
   * Remove the Python 2.x-only Pyro dependency
   * Migrate CI to use the official Coveralls action
   * Standardize local and CI testing to use tox
   * Build wheels in CI for all supported Python versions
   * Build the docs as a part of the test suite
   * Begin to add type annotations to the package
   * Deprecate the `HexListToBinString`, `BinStringToHexList`,
`hl2bs`, and `bs2hl` utility functions
   * Support "64" as an ATR baud rate adjustment integer (ISO 7816-3 2006)

2.1.1 (September 2024)
======================
   * Fix a regression introduced in 2.1.0

2.1.0 (September 2024)
======================
   * PCSCCardRequest: fix active polling (was a 0.1 sec loop)
   * Fix use of undefined variable 'hresult' in exceptions
   * Fix print() use in pyscard user’s guide
   * Fix deprecation warnings
   * Minor changes

2.0.10 (June 2024)
==================
   * add 'swig' in pyproject.toml build requires
   * CardMonitoringThread(): do not catch unexpected exceptions

2.0.9 (April 2024)
==================
   * fix a bug with CardRequestTimeoutException introduced in 2.0.8
   * Minor changes

2.0.8 (march 2024)
==================
   * Make CardMonitor() thread safe on Python 3.12
   * Add hresult value in exceptions
   * Improve documentation
   * Check swig is installed on build
   * Remove use of imp module for wx (GUI)
   * Makefile: modernize use of setup.py
   * Minor changes

2.0.7 (March 2023)
==================
   * do not include the generated HTML documentation in the archive

2.0.6 (March 2023)
==================
   * handle SCARD_E_NO_SERVICE on Windows (on last reader removal)
   * add support of MSYS2/mingw environment on Windows
   * improve documentation
   * minor changes

2.0.5 (September 2022)
======================
   * New version just because I failed the previous upload to https://pypi.org/

2.0.4 (August 2022)
==================
   * Fix a problem on PCSCCardConnection.disconnect
   * Add support of BaseSCardException(hresult) format
   * Do not use deprecated distutils anymore

--
 Dr. Ludovic Rousseau



More information about the pcsclite-muscle mailing list