Skip to main content

Gammu bindings

Project description


Python bindings for the Gammu library. Liberapay Bountysource PyPI




Copyright (C) 2003 - 2018 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.


You can install in a usual way for Python modules using distutils, so use which is placed in the top level directory:

./ build
sudo ./ install

You can also install it using pip installer:

pip install python-gammu


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 build

On Windows:

python build


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 <>.

Feedback and bug reports

Any feedback is welcome, see <> 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

python-gammu-3.2.4.tar.gz (139.0 kB view hashes)

Uploaded source

Built Distributions

python_gammu-3.2.4-cp39-cp39-win_amd64.whl (562.3 kB view hashes)

Uploaded cp39

python_gammu-3.2.4-cp39-cp39-win32.whl (484.9 kB view hashes)

Uploaded cp39

python_gammu-3.2.4-cp38-cp38-win_amd64.whl (562.2 kB view hashes)

Uploaded cp38

python_gammu-3.2.4-cp38-cp38-win32.whl (484.8 kB view hashes)

Uploaded cp38

python_gammu-3.2.4-cp37-cp37m-win_amd64.whl (561.5 kB view hashes)

Uploaded cp37

python_gammu-3.2.4-cp37-cp37m-win32.whl (483.6 kB view hashes)

Uploaded cp37

python_gammu-3.2.4-cp36-cp36m-win_amd64.whl (561.5 kB view hashes)

Uploaded cp36

python_gammu-3.2.4-cp36-cp36m-win32.whl (483.6 kB view hashes)

Uploaded cp36

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