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

Source Code for Package gammu

 1  # -*- coding: UTF-8 -*- 
 2  # vim: expandtab sw=4 ts=4 sts=4: 
 3  ''' 
 4  Phone communication libary - python wrapper for Gammu library. 
 5  ''' 
 6  __author__ = 'Michal Čihař' 
 7  __email__ = 'michal@cihar.com' 
 8  __license__ = ''' 
 9  Copyright © 2003 - 2010 Michal Čihař 
10   
11  This program is free software; you can redistribute it and/or modify it 
12  under the terms of the GNU General Public License version 2 as published by 
13  the Free Software Foundation. 
14   
15  This program is distributed in the hope that it will be useful, but WITHOUT 
16  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
17  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 
18  more details. 
19   
20  You should have received a copy of the GNU General Public License along with 
21  this program; if not, write to the Free Software Foundation, Inc., 
22  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
23  ''' 
24   
25  # Submodules 
26  __all__ = [ 
27      'data', 
28      'worker', 
29      'smsd', 
30      'core', 
31      'exception', 
32      ] 
33   
34  # Conveniency and backward compatibility import 
35  from gammu._gammu import * 
36   
37  import gammu._gammu 
38  __version__ = 'Gammu %s, python-gammu %s' % ( 
39          gammu._gammu.Version()[0], 
40          gammu._gammu.Version()[1] 
41          ) 
42