Package smartcard
[hide private]
[frames] | no frames]

Source Code for Package smartcard

 1  """Smartcard utility module. 
 2   
 3  The smartcard utility module provides classes and functions to 
 4  access smartcards and readers. 
 5   
 6  __author__ = "gemalto http://www.gemalto.com" 
 7  __date__ = "May 2010" 
 8  __version__ = "1.6.14" 
 9   
10  Copyright 2001-2011 gemalto 
11  Author: Jean-Daniel Aussel, mailto:jean-daniel.aussel@gemalto.com 
12   
13  This file is part of pyscard. 
14   
15  pyscard is free software; you can redistribute it and/or modify 
16  it under the terms of the GNU Lesser General Public License as published by 
17  the Free Software Foundation; either version 2.1 of the License, or 
18  (at your option) any later version. 
19   
20  pyscard is distributed in the hope that it will be useful, 
21  but WITHOUT ANY WARRANTY; without even the implied warranty of 
22  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
23  GNU Lesser General Public License for more details. 
24   
25  You should have received a copy of the GNU Lesser General Public License 
26  along with pyscard; if not, write to the Free Software 
27  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
28  """ 
29   
30  __all__ = ['listReaders', 
31               'Session'] 
32   
33  # for legacy only 
34  from smartcard.System import listReaders 
35  from smartcard.Session import Session 
36