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.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.44.0/Gammu-1.44.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.

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.0.tar.gz (147.0 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.0-cp314-cp314-win_amd64.whl (578.7 kB view details)

Uploaded CPython 3.14Windows x86-64

python_gammu-3.4.0-cp314-cp314-manylinux_2_28_x86_64.whl (684.3 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

python_gammu-3.4.0-cp314-cp314-manylinux_2_28_aarch64.whl (687.6 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

python_gammu-3.4.0-cp313-cp313-win_amd64.whl (561.7 kB view details)

Uploaded CPython 3.13Windows x86-64

python_gammu-3.4.0-cp313-cp313-manylinux_2_28_x86_64.whl (684.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

python_gammu-3.4.0-cp313-cp313-manylinux_2_28_aarch64.whl (687.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

python_gammu-3.4.0-cp312-cp312-win_amd64.whl (561.7 kB view details)

Uploaded CPython 3.12Windows x86-64

python_gammu-3.4.0-cp312-cp312-manylinux_2_28_x86_64.whl (684.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

python_gammu-3.4.0-cp312-cp312-manylinux_2_28_aarch64.whl (687.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

python_gammu-3.4.0-cp311-cp311-win_amd64.whl (561.6 kB view details)

Uploaded CPython 3.11Windows x86-64

python_gammu-3.4.0-cp311-cp311-manylinux_2_28_x86_64.whl (683.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

python_gammu-3.4.0-cp311-cp311-manylinux_2_28_aarch64.whl (686.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

python_gammu-3.4.0-cp310-cp310-win_amd64.whl (561.6 kB view details)

Uploaded CPython 3.10Windows x86-64

python_gammu-3.4.0-cp310-cp310-manylinux_2_28_x86_64.whl (683.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

python_gammu-3.4.0-cp310-cp310-manylinux_2_28_aarch64.whl (686.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

File details

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

File metadata

  • Download URL: python_gammu-3.4.0.tar.gz
  • Upload date:
  • Size: 147.0 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.0.tar.gz
Algorithm Hash digest
SHA256 bc1503b98870c159480cc8751ac8e091cc987bebe97a7ad5a99781530db300e2
MD5 cda9fee92b60cc38a87925db3c86d5bf
BLAKE2b-256 ee7cc0c995cee04c16d73517f479684e939703645e81f8fc1ff0e5d47c026c3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.0.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.0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 fe69f9a095d89623f1dbc9372d88f4688b817e19aa00f51f692d1eb1ef1b4c69
MD5 016652242dfe25b89e07bf1819e27a5a
BLAKE2b-256 ecdf43acb6ad5ef9f7b4e584f8751cb6f6b23806c9b1aaeda6f430964b278d56

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.0-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.0-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b0787db2644ebc617f855c0b502a99d976997965a4b7f401dfab050f301a43a7
MD5 436a56cad8bb71a24bc6c9db825461bb
BLAKE2b-256 d812e79bf48d74ecfad5eb9607a6fad51b263fc64302102f7f25f30ac4dc5abd

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.0-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.0-cp314-cp314-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9849580f5e3e5c2c680318e05efa0ed87dc8faa41e492c79194790c40083e654
MD5 abf80597722cb128c3316d1b3d01becc
BLAKE2b-256 6bde870c63ed02d55e732e37c14e5013a56a6c051c357fda1c74d38de1025789

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.0-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.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c5691d9219534474260a462426a9a8d29292708cbae659a679800f78fda9b630
MD5 3f9f8d54222c456e5a34b914c8bd6699
BLAKE2b-256 df5f00f48a83b9d53c845e7ce45ad2cfe0518839a2734f8b7aa8a4a7893e841e

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.0-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.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 430b8fb07cdc6d7b9cd92ce3e5815405f2a71b33d470f94e245efd88d6ab3387
MD5 a19d1ca83e104fe8a7194fe7dc8d194e
BLAKE2b-256 51e730d9ce4b7cb7fb6b9c0b982eb57460f4cba24639761323e60e5384338e67

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.0-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.0-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e4990f631ab888dfcb7bee3c95579e59a26cbe55773dd470c889893e60598d1c
MD5 d697897fb231bbd743ac6fc895634c47
BLAKE2b-256 e649aa3164b46a2705638b698b9354b4554b8279650ce2f0548cba9919d0603c

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.0-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.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 df6239cfc470be3cfbc30c1f3ba478b8f42d9cc7ae9dad9a32eea48920966829
MD5 c08b5ee1bee8d2574119b1f1aba9b07e
BLAKE2b-256 b886f05d32eb953e40ce997db02b9006f0aa9d73364e4112ef328180993b2c8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.0-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.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3196dacd0edf2ac7ec6d3c2b6cdd17805ca9e778f952efad759f708e6689910d
MD5 83fc93d10e7ab97c51620205ae16e569
BLAKE2b-256 80e4043c21fbbaae1a1487c1d773cc334f7db5cde0b585a1626461a165b5cffe

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.0-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.0-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 08dbd073188b5fbe2a3fb8ad21dcf1d15b4cb20f7760853dbdc4d047ccf1a5fb
MD5 521ddc04f3d085e354e3c1c75cd505f3
BLAKE2b-256 c5b6ce055133d10c07170658576302874a12ebc689527b181f26efe4e953ffa5

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.0-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.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 77c57a9667685e0c40dc03a39bb485c6223156b4a8660f5261eeb3dd129678c8
MD5 0582006a281403e0215924f96c60ad71
BLAKE2b-256 50f0e385b806ec876fac9794a25d76e8e53b4c8d4b34e137ec5b3f963672008b

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.0-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.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b3f2afa3445730d3624ae07d455b41addf61e9c5bdefb454dea3c2045a4a09e8
MD5 f05b24950bfff8b654907bdbb89d2a59
BLAKE2b-256 d491507e87420f9309360e34a1ab386bd1a08f979132b32d3199734f7fc51edb

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.0-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.0-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e6fd3003a9c4c33c179173ca940d92289adce7dc14be57790b0840baec5ca966
MD5 b94bbfaa80aabda60227b7d522e9b97c
BLAKE2b-256 9975242423c6ea7580c98be58fedb1a20612aa59e526adff9a9a1be347fa6a7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.0-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.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 21c98040082f75e67c9d36b2332eb5879677ab0dbcfe13adfd431875f37333b4
MD5 384ffa3ca1773802650dcb512b969f44
BLAKE2b-256 2cbb2e414905c885a61e870db067804b3ddbec4906103aa15282a951f26dde1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.0-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.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4eecf7c53d0bb3ffeb408bec1e77621a88b96a51ec6a98709b45b0b9c357e4c9
MD5 e054217a81c6bbfa6a63289b5502811f
BLAKE2b-256 9b3e64ee01a272ad0231037388f177c09575ece578afd166ed1f1d578f474bf7

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.0-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.0-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for python_gammu-3.4.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 dabee80205a3f3373ce21346216df301d4743f45348093785982dddcac76e71e
MD5 1d956a787976f038b79f0d009a58b401
BLAKE2b-256 254e46f67872d4bcf009ee141fa029ce0203df486e0741d7de56b641b409320d

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_gammu-3.4.0-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.0

Supported by

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