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.44.1 library is licensed under GPL-2.0-or-later. The corresponding source archive is available from:

https://github.com/gammu/gammu/releases/download/1.44.1/Gammu-1.44.1.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.

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.4.1.tar.gz (148.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

python_gammu-3.4.1-cp314-cp314-win_amd64.whl (581.1 kB view details)

Uploaded CPython 3.14Windows x86-64

python_gammu-3.4.1-cp314-cp314-manylinux_2_28_x86_64.whl (687.5 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

python_gammu-3.4.1-cp314-cp314-manylinux_2_28_aarch64.whl (690.9 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

python_gammu-3.4.1-cp313-cp313-win_amd64.whl (564.2 kB view details)

Uploaded CPython 3.13Windows x86-64

python_gammu-3.4.1-cp313-cp313-manylinux_2_28_x86_64.whl (687.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

python_gammu-3.4.1-cp313-cp313-manylinux_2_28_aarch64.whl (690.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

python_gammu-3.4.1-cp312-cp312-win_amd64.whl (564.2 kB view details)

Uploaded CPython 3.12Windows x86-64

python_gammu-3.4.1-cp312-cp312-manylinux_2_28_x86_64.whl (687.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

python_gammu-3.4.1-cp312-cp312-manylinux_2_28_aarch64.whl (690.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

python_gammu-3.4.1-cp311-cp311-win_amd64.whl (564.1 kB view details)

Uploaded CPython 3.11Windows x86-64

python_gammu-3.4.1-cp311-cp311-manylinux_2_28_x86_64.whl (686.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

python_gammu-3.4.1-cp311-cp311-manylinux_2_28_aarch64.whl (689.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

python_gammu-3.4.1-cp310-cp310-win_amd64.whl (564.1 kB view details)

Uploaded CPython 3.10Windows x86-64

python_gammu-3.4.1-cp310-cp310-manylinux_2_28_x86_64.whl (686.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

python_gammu-3.4.1-cp310-cp310-manylinux_2_28_aarch64.whl (689.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

File details

Details for the file python_gammu-3.4.1.tar.gz.

File metadata

  • Download URL: python_gammu-3.4.1.tar.gz
  • Upload date:
  • Size: 148.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for python_gammu-3.4.1.tar.gz
Algorithm Hash digest
SHA256 a711863c3b258aeaf518a588e152ce8d73875e4e8508aba9c905238c49c03ed0
MD5 06690c8adc1a089a3ac8a69e7b845108
BLAKE2b-256 99c2e739de84aa359fd8f9008c0f332930efa6163d0a4ea9800352586f93896a

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.1.tar.gz:

Publisher: setup.yml on gammu/python-gammu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_gammu-3.4.1-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 4d15c9b4c6002958a42b5e2ed2952457092ee8a09269e2e3698b173932079e8a
MD5 6fc9f6b7521ca2f620e862ab503ad16f
BLAKE2b-256 6c01762e162ced958407877834677be229b365e0738cc3133aaab9db69b2eda5

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.1-cp314-cp314-win_amd64.whl:

Publisher: setup.yml on gammu/python-gammu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_gammu-3.4.1-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.1-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 39d227504987e070ed025e3bd456d5ab646c6e48622e7882b21cea66243dc36b
MD5 b6ad7a6d8d5f2cf3067c4d80fc0ba47b
BLAKE2b-256 8defcf1a892dbe0769e4c5c16e6ec700b74754bf319fe557c4394eab0d71594a

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.1-cp314-cp314-manylinux_2_28_x86_64.whl:

Publisher: setup.yml on gammu/python-gammu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_gammu-3.4.1-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.1-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b61da4d52e5b665c25d0e9369695880365e91b5b9a01d73f0ec9ed14ffdf0d9f
MD5 d06b81261b6cadd449203f6f1f44d0d9
BLAKE2b-256 a5f13b9fc6def9b06efd82da081bf4cb2dd4a729bff1720355bae5830592721b

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.1-cp314-cp314-manylinux_2_28_aarch64.whl:

Publisher: setup.yml on gammu/python-gammu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_gammu-3.4.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1985ba28b0f11085d3ba7f7ca0b50604428d3b252c1d77afc4a6da509a9ec922
MD5 a01694ebbc79e9ef603570f32e87f8c8
BLAKE2b-256 7e73677b3c3b1a22b081c5d01d660d22921f5263c05e5190e815c729b714b829

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.1-cp313-cp313-win_amd64.whl:

Publisher: setup.yml on gammu/python-gammu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_gammu-3.4.1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5f14fd58a4486d4e3c49b3462b6d471d3982f65c14de3f53b6612fbb0f54c883
MD5 83ba7169366ea87f1e70d6b1150e2dc0
BLAKE2b-256 c5784bb2825094dfe1281dbebdff3a3928b48d3e6491635e30be2a5f18328263

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.1-cp313-cp313-manylinux_2_28_x86_64.whl:

Publisher: setup.yml on gammu/python-gammu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_gammu-3.4.1-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.1-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d61a8cd4094634349398386abea7fad302a7c1bcb5327b02f82299fa30bddc96
MD5 ec0ff767ca9a79fab781041962823cd5
BLAKE2b-256 eb8f3b25b19a82119570359ad2f3ffdb1ffb54926c7562d59710289261d9980b

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.1-cp313-cp313-manylinux_2_28_aarch64.whl:

Publisher: setup.yml on gammu/python-gammu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_gammu-3.4.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 fa6337d373dd059d8ba310733748e757f615df6443d40f5145f7bfccafde4993
MD5 43ea41cd89535a9ee451e86cd533fb26
BLAKE2b-256 35a255948d5e658ec9809f90e271c560502489aa1015b39c097c58d5b2ed19f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.1-cp312-cp312-win_amd64.whl:

Publisher: setup.yml on gammu/python-gammu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_gammu-3.4.1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 14aba85db033aa8e53e3878c199bee19f7f2f95e8c9be1b051075a3a46147f70
MD5 63824634c3ad0050b2b50adaa64463eb
BLAKE2b-256 ce5ba4c601157fcf7683d831a8ad859c1e584619935d68228997bc2dffdb49b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.1-cp312-cp312-manylinux_2_28_x86_64.whl:

Publisher: setup.yml on gammu/python-gammu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_gammu-3.4.1-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.1-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 acee67d1b0c8b69fffc69c0e434a88cf7a847248b9b3c248acebeb5a896efb35
MD5 9d5bddb5b4a45aacadf02dc1285384e9
BLAKE2b-256 dfb154c4693df22422f1b018ca38d682435a4bcd46acf8b48064b778d367e781

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.1-cp312-cp312-manylinux_2_28_aarch64.whl:

Publisher: setup.yml on gammu/python-gammu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_gammu-3.4.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 decf071588debdf5412127c25ce85a2363d5a2d3a170e96370ec48124e4ea74d
MD5 1a04541220c3edfb9b185e8288093fa1
BLAKE2b-256 d61813c363b9c3a8f52e7a34534dbad1f1f2664f544e7ec802b1b319b92fe6ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.1-cp311-cp311-win_amd64.whl:

Publisher: setup.yml on gammu/python-gammu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_gammu-3.4.1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 30006fa4a9a405122981b23cc4995288db445d96a30075a615be5d1d7fcc352c
MD5 f38ac12a5236755fb4ae069933deeead
BLAKE2b-256 c86e18c20b012cf854962eb991275aceee68b938bc98589f07892838b39e0861

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.1-cp311-cp311-manylinux_2_28_x86_64.whl:

Publisher: setup.yml on gammu/python-gammu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_gammu-3.4.1-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7b316210e253b021aff62c26957c2c6c383bf209f319075a6e39724610210241
MD5 838db9af403b195962f19de82bdfb7ec
BLAKE2b-256 a058d05d10b20ee54db8094d699abf1398adbfe648b03ebe69a3d9168256ad8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.1-cp311-cp311-manylinux_2_28_aarch64.whl:

Publisher: setup.yml on gammu/python-gammu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_gammu-3.4.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 bf587839b97b66c30f53dc8736063d6edb9100f5886cc8d4d3a6666279a4eb62
MD5 5ddade8e11af79afddbae67665f97732
BLAKE2b-256 8fd81e7dab931912e1fa4662b764145a07e6c7878ad4155b178a1e746ff0b619

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.1-cp310-cp310-win_amd64.whl:

Publisher: setup.yml on gammu/python-gammu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_gammu-3.4.1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6742fc4469d35d7ed3dfb69c6bbe74b73a5755ae9f24c3c8ed44d60b11ce74c3
MD5 65e96d05bd3e159612dc8aeee9a81bf5
BLAKE2b-256 7c9e739e0d9989384dce7c46cc7919943299fd6ae95f90dc62ba1df60908f1a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.1-cp310-cp310-manylinux_2_28_x86_64.whl:

Publisher: setup.yml on gammu/python-gammu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file python_gammu-3.4.1-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.1-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1b746b06e9dd1079dde91b8e69f29627e7181e66f43d4175c10ae49461987d47
MD5 7888896651b2886de3227e63e02d0680
BLAKE2b-256 f7737c50528da4644dc02346a1f5affb2ca3e81eeb10294f707754513b8a5dcb

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.1-cp310-cp310-manylinux_2_28_aarch64.whl:

Publisher: setup.yml on gammu/python-gammu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

3.4.1 This release

16 files

3.4.0

16 files

3.3.0

16 files

3.2.6

6 files

3.2.5

6 files

3.2.4

9 files

3.2.3

9 files

3.2.2

9 files

3.2.1

9 files

3.2

5 files

3.1

9 files

3.0

9 files

2.12

8 files

2.11

6 files

2.10

5 files

2.9

7 files

2.8

1 file

2.7

3 files

2.6

3 files

2.5

3 files

2.4

3 files

2.3

3 files

2.2

3 files

2.1

2 files

2.0

2 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