Gammu bindings
Project description
python-gammu
Python bindings for the Gammu library.
Homepage
License
Copyright (C) 2003 - 2017 Michal Cihar
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Installing
You can install in a usual way for Python modules using distutils, so use setup.py which is placed in the top level directory:
./setup.py build sudo ./setup.py install
You can also install it using pip installer:
pip install python-gammu
Requirements
To compile python-gammu, you need Gammu development files (usually shipped as libgammu-dev or gammu-devel in Linux distributions).
The location of the libraries is discovered using pkg-config, GAMMU_PATH environment variable and falls back to generic locations. In case it does not work, either install pkg-config or set GAMMU_PATH.
On Linux something like this should work:
GAMMU_PATH=/opt/gammu python setup.py build
On Windows:
SET GAMMU_PATH="C:\Gammu" python setup.py build
Documentation
Please see included python documentation:
>>> import gammu >>> help(gammu)
Alternatively you can use Sphinx to generate browsable version, which is also available on-line at <https://wammu.eu/docs/manual/>.
Feedback and bug reports
Any feedback is welcome, see <https://wammu.eu/support/> for information how to contact developers.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for python_gammu-2.10-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2154543f175d27e09bda11d59b58b76dea25e8c1124067950ec63fbbae552cce |
|
MD5 | 7cb97dbd43d9b6eac44645edb74dcf63 |
|
BLAKE2b-256 | 15d41edd0ae23a5a0e866d2affcde8ac0b7737b14ff971a7f97001c127c2de2c |
Hashes for python_gammu-2.10-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 144dd3e3e50a68c389d2fc63ad43a3e5645eecd23a9d95a78fcd1fd55d60afab |
|
MD5 | 46eba6028cd0e61f1c680f1a9d29030a |
|
BLAKE2b-256 | 7cc85c5a4d92395f66bd58c7632430e60c8f8abfb9e6b25f96be45a9c09db313 |
Hashes for python-gammu-2.10.win32-py3.6.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c8ebb0100f897049fbf62083e6945be9a446102cba15035303df1f2f8fdb71b |
|
MD5 | 9052005cff9cb0e5d3102e307eba254e |
|
BLAKE2b-256 | 7cf2749ccdd01d396677a86c3bbe1db456981ba67be60c172bcc90203f457736 |
Hashes for python-gammu-2.10.win32-py3.5.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 649cbe3ba6998eea73efda2faceb1e04a5656bf54c5ad969a0b7c6dd5e107545 |
|
MD5 | 5468a7cfd5c2c61b08864635b6ac7de8 |
|
BLAKE2b-256 | 6f28727ae704ab8a81dfdf84707475fefec79054b8ebb0cdd4fa4afd7430e25b |