Skip to main content

Gammu bindings

Project description

python-gammu

https://travis-ci.org/gammu/python-gammu.svg?branch=master https://ci.appveyor.com/api/projects/status/19cefdo79bqrtq8l?svg=true https://www.codacy.com/project/badge/c7e87df480fb4609aa48482873f5c46b https://scrutinizer-ci.com/g/gammu/python-gammu/badges/quality-score.png?b=master https://landscape.io/github/gammu/python-gammu/master/landscape.svg?style=flat https://coveralls.io/repos/gammu/python-gammu/badge.svg https://scan.coverity.com/projects/4837/badge.svg Gratipay Bountysource PyPI

Python bindings for Gammu library.

Homepage

<https://wammu.eu/python-gammu/>

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.

Release history Release notifications | RSS feed

This version

2.9

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-gammu-2.9.tar.gz (135.3 kB view hashes)

Uploaded Source

Built Distributions

python_gammu-2.9-cp36-cp36m-win32.whl (465.5 kB view hashes)

Uploaded CPython 3.6m Windows x86

python_gammu-2.9-cp35-cp35m-win32.whl (465.5 kB view hashes)

Uploaded CPython 3.5m Windows x86

python-gammu-2.9.win32-py3.6.msi (557.1 kB view hashes)

Uploaded Source

python-gammu-2.9.win32-py3.6.exe (925.8 kB view hashes)

Uploaded Source

python-gammu-2.9.win32-py3.5.msi (557.1 kB view hashes)

Uploaded Source

python-gammu-2.9.win32-py3.5.exe (925.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page