Skip to main content

python-gammu

Python bindings for the Gammu library.

https://github.com/gammu/python-gammu/actions/workflows/test.yml/badge.svg Liberapay PyPI

Homepage

https://github.com/gammu/python-gammu/

License

Copyright (C) Michal Čihař <michal@cihar.com>

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

Install it using pip installer:

pip install python-gammu

Linux wheels

Binary wheels are available for CPython 3.10 and newer on 64-bit x86 and ARM Linux systems using glibc 2.28 or newer. They include a minimal, statically linked Gammu library, so installing Gammu separately is not necessary.

The wheels support core phone protocols, serial connections, converters, backups, and the SMSD file and null services. Bluetooth, native USB, IrDA, database-backed SMSD services, CURL, GLib/GObject, systemd, gettext, and iconv integration are not included.

The bundled Gammu 1.45.0 library is licensed under GPL-2.0-or-later. The corresponding source archive is available from:

https://github.com/gammu/gammu/releases/download/1.45.0/Gammu-1.45.0.tar.gz

To use those optional features, install a fully featured Gammu development package and force a source build:

pip install --no-binary python-gammu python-gammu

Requirements

To compile python-gammu from source, 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 pip install .

On Windows:

SET GAMMU_PATH="C:\Gammu"
pip install .

Documentation

Please see included python documentation:

>>> import gammu
>>> help(gammu)

Alternatively you can use Sphinx to generate browsable version, which is also available online at Gammu documentation.

Feedback and bug reports

Any feedback is welcome, see the project homepage for information how to contact developers.

Metadata

Release files for python-gammu 3.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-gammu 3.5.0
File Size Uploaded
python_gammu-3.5.0.tar.gz 157.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for python-gammu 3.5.0
File
python_gammu-3.5.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
python_gammu-3.5.0-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details
python_gammu-3.5.0-cp314-cp314-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64 Details
python_gammu-3.5.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
python_gammu-3.5.0-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
python_gammu-3.5.0-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details
python_gammu-3.5.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
python_gammu-3.5.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
python_gammu-3.5.0-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details
python_gammu-3.5.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
python_gammu-3.5.0-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details
python_gammu-3.5.0-cp311-cp311-manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64 Details
python_gammu-3.5.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
python_gammu-3.5.0-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details
python_gammu-3.5.0-cp310-cp310-manylinux_2_28_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ ARM64 Details

Total release size: 10.2 MB

Release files / python_gammu-3.5.0.tar.gz

Download URL python_gammu-3.5.0.tar.gz
Size 157.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5d8a3e38a0a0fb13103dedb24a5d695f6fb3b3dd6ff16d3bb55bf4dec71bdcfe
BLAKE2b-256 checksum
How to use checksums
4d5759e7fd2adb595f696c984729758f50b033ea5f222e77be669d24fd330b63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / python_gammu-3.5.0-cp314-cp314-win_amd64.whl

Download URL python_gammu-3.5.0-cp314-cp314-win_amd64.whl
Size 599.9 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
8b37042cabb771fd85029183329d0be2025b7e5b449871dfc7facf0481b6b850
BLAKE2b-256 checksum
How to use checksums
295a12e19fb028395eb749eef4b17d3087f2944f2cfdf85100614d240ac36f2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / python_gammu-3.5.0-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL python_gammu-3.5.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 707.8 kB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
fe6a35f74e6c4b5da81841a39285216fa6c9add224ab80c99b5a8d778c7af478
BLAKE2b-256 checksum
How to use checksums
7dcff2869efbb510dd8493069a02bb55667dca438d4d459742d5d0ddf01c6629
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / python_gammu-3.5.0-cp314-cp314-manylinux_2_28_aarch64.whl

Download URL python_gammu-3.5.0-cp314-cp314-manylinux_2_28_aarch64.whl
Size 710.9 kB
Tags CPython 3.14 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
bf6b1b5e511c0cbe16f4b846a16f68b07fcf48f9be89e8414795d5c6f59e4d09
BLAKE2b-256 checksum
How to use checksums
c7407a9ec5b9afeca06937f03d4670e95cbba2e3f0bbb0c378f76c1354a592df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / python_gammu-3.5.0-cp313-cp313-win_amd64.whl

Download URL python_gammu-3.5.0-cp313-cp313-win_amd64.whl
Size 582.5 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
e0e9cd981986c9419c9664a4dd3c38d868dac77d903e744d675e48ce4a97735f
BLAKE2b-256 checksum
How to use checksums
fc95c25a68a44b0fecee6a2cb4ccbff9bfc8403effe0fb60012073d65f571588
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / python_gammu-3.5.0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL python_gammu-3.5.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 708.0 kB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
551dbf691c773354b1c2b54e9b11b76861543743fcf34c8635c6781ad13eb91c
BLAKE2b-256 checksum
How to use checksums
8eb6f5335987517d10af4f69aa2eb6654a04f1da1fbf90641cfe9c3774be3ed6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / python_gammu-3.5.0-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL python_gammu-3.5.0-cp313-cp313-manylinux_2_28_aarch64.whl
Size 710.8 kB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
0046ab9a9a4fa4d6b1264bbd7c0d114e1787c079ca9a3039d07be23f56a5ff1f
BLAKE2b-256 checksum
How to use checksums
19b1a60d1722b24889406496a06e254cc4abfce6ca4d240cf2b2d32ab4de2885
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / python_gammu-3.5.0-cp312-cp312-win_amd64.whl

Download URL python_gammu-3.5.0-cp312-cp312-win_amd64.whl
Size 582.5 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
8731ed5b910cf1f8a98cbef8ffedd923d1cc4aca6f50ca3ea18f4f4d617199d8
BLAKE2b-256 checksum
How to use checksums
984f8b34d93898ea5ddc3b170a476c563b595c6213e90929126de32f5d9cde45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / python_gammu-3.5.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL python_gammu-3.5.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 708.0 kB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b4beae2fdd9b377c2919fa03cf0311815b745d7818fc3ba9c92e094b57073bca
BLAKE2b-256 checksum
How to use checksums
fcfb062d9b926dcd8faad44e03b4452ec64459da0eb885596cc172ab83b7a4cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / python_gammu-3.5.0-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL python_gammu-3.5.0-cp312-cp312-manylinux_2_28_aarch64.whl
Size 710.8 kB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
6321570ca5df23da575489fdbff93d3058226e838c6509150ce0f6a14ba0c29e
BLAKE2b-256 checksum
How to use checksums
b10fb703e13d145455e5ca942a6efcef0916d126fbabbe0caf93944d5c2081bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / python_gammu-3.5.0-cp311-cp311-win_amd64.whl

Download URL python_gammu-3.5.0-cp311-cp311-win_amd64.whl
Size 582.4 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
f4268c82eac7c3d1b826be5813f60c6eb3fc8905d1eb258246779dbf5b5b216c
BLAKE2b-256 checksum
How to use checksums
963891e54eb1e6cab57b7e193c7fb6c5d15af1bde5373548ec3d494255573b95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / python_gammu-3.5.0-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL python_gammu-3.5.0-cp311-cp311-manylinux_2_28_x86_64.whl
Size 707.0 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f1ee3f2a60b56f255a6731fb1cf7197d8ee363c680458b4eeb8f5f25952ac34f
BLAKE2b-256 checksum
How to use checksums
d4d201bdc3841b6e471b3b47e4a98852551bdbce375a6b8f27e5862e71a60947
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / python_gammu-3.5.0-cp311-cp311-manylinux_2_28_aarch64.whl

Download URL python_gammu-3.5.0-cp311-cp311-manylinux_2_28_aarch64.whl
Size 709.5 kB
Tags CPython 3.11 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
22abf00de5b487969da1688d89d48fedd14c5cd4329104614a8a48f3aba874a8
BLAKE2b-256 checksum
How to use checksums
128dcc3a1b82a078fefba59a6fa5a8957cd90855f4d325f42f1403be03e73217
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / python_gammu-3.5.0-cp310-cp310-win_amd64.whl

Download URL python_gammu-3.5.0-cp310-cp310-win_amd64.whl
Size 582.4 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
6fc14d93ae674d7f4b2205d02f166cb1ba6aaf52438f3d8dd66b8811211fcc6b
BLAKE2b-256 checksum
How to use checksums
11133557b31fba8a37a9bf511c0ef1eb9fdeebacd2fd2aa30b471e5c6b34a4f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / python_gammu-3.5.0-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL python_gammu-3.5.0-cp310-cp310-manylinux_2_28_x86_64.whl
Size 706.9 kB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
08475e0af64c9f765b7fc16245e47ded276ae58a5bc7bc116b86e25ea077a92f
BLAKE2b-256 checksum
How to use checksums
0fc3d93818464bb7080bb0282f2b490e81c5cd956281bca7fd7cf93292affc75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / python_gammu-3.5.0-cp310-cp310-manylinux_2_28_aarch64.whl

Download URL python_gammu-3.5.0-cp310-cp310-manylinux_2_28_aarch64.whl
Size 709.5 kB
Tags CPython 3.10 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
7abc604e58a18aed5bc5df18ade4f4f579c1164488d5801c6a90417c63355fa2
BLAKE2b-256 checksum
How to use checksums
071d3a77047939f957c3ae4ba616e855ae1c28013a8569664b96f1d794919778
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

3.5.0 This release

16 release files

3.4.1

16 release files

3.3.0

16 release files

3.2.6

6 release files

3.2.5

6 release files

3.2.4

9 release files

3.2.3

9 release files

3.2.2

9 release files

3.2.1

9 release files

3.2

5 release files

3.1

9 release files

3.0

9 release files

2.12

8 release files

2.11

6 release files

2.10

5 release files

2.9

7 release files

2.8

1 release file

2.7

3 release files

2.6

3 release files

2.5

3 release files

2.4

3 release files

2.3

3 release files

2.2

3 release files

2.1

2 release files

2.0

2 release files

1.35.0

1.34.0

1.32.0

1.31.90

1.31.0

1.30.92

1.30.91

1.30.90

1.30.0

1.29.93

1.29.92

1.29.91

1.29.90

1.29.0

1.28.95

1.28.94

1.28.93

1.28.92

1.28.91

1.28.90

1.28.0

1.27.95

1.27.94

1.27.93

1.27.92

1.27.91

1.27.90

1.27.0

1.26.93

1.26.92

1.26.91

1.26.90

1.26.1

1.26.0

1.25.93

1.25.92

1.25.91

1.25.90

1.25.0

1.24.92

1.24.91

1.24.90

1.24.0

1.23.92

1.23.91

1.23.90

1.23.1

1.23.0

1.22.95

1.22.94

1.22.93

1.22.92

1.22.91

0.27

0.26

0.25

0.24

0.23

0.22

0.21

0.20

0.19

0.5

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page