Skip to main content

Gammu bindings

Project description

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

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

Feedback and bug reports

Any feedback is welcome, see <https://github.com/gammu/python-gammu/> 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.3.0.tar.gz (146.4 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.3.0-cp314-cp314-win_amd64.whl (571.1 kB view details)

Uploaded CPython 3.14Windows x86-64

python_gammu-3.3.0-cp314-cp314-manylinux_2_28_x86_64.whl (673.5 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

python_gammu-3.3.0-cp314-cp314-manylinux_2_28_aarch64.whl (675.4 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ ARM64

python_gammu-3.3.0-cp313-cp313-win_amd64.whl (555.2 kB view details)

Uploaded CPython 3.13Windows x86-64

python_gammu-3.3.0-cp313-cp313-manylinux_2_28_x86_64.whl (673.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

python_gammu-3.3.0-cp313-cp313-manylinux_2_28_aarch64.whl (675.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

python_gammu-3.3.0-cp312-cp312-win_amd64.whl (555.2 kB view details)

Uploaded CPython 3.12Windows x86-64

python_gammu-3.3.0-cp312-cp312-manylinux_2_28_x86_64.whl (673.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

python_gammu-3.3.0-cp312-cp312-manylinux_2_28_aarch64.whl (675.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

python_gammu-3.3.0-cp311-cp311-win_amd64.whl (555.1 kB view details)

Uploaded CPython 3.11Windows x86-64

python_gammu-3.3.0-cp311-cp311-manylinux_2_28_x86_64.whl (673.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

python_gammu-3.3.0-cp311-cp311-manylinux_2_28_aarch64.whl (674.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

python_gammu-3.3.0-cp310-cp310-win_amd64.whl (555.1 kB view details)

Uploaded CPython 3.10Windows x86-64

python_gammu-3.3.0-cp310-cp310-manylinux_2_28_x86_64.whl (673.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

python_gammu-3.3.0-cp310-cp310-manylinux_2_28_aarch64.whl (674.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

File details

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

File metadata

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

File hashes

Hashes for python_gammu-3.3.0.tar.gz
Algorithm Hash digest
SHA256 a8c99e0c03e4aa9bfecf077b1911ac7787d69c436b28772c5ede4f94cce195b7
MD5 8035cb871c01421ba3322b0cfd2b755c
BLAKE2b-256 faef1722a0636117f2ad43732520a9d6c982cb87fb941acce57db5380d32d2c3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_gammu-3.3.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 edcab11e12bf12ce91f4b41bea3322994690680179a682cf04a17b576c150dfa
MD5 f18d6af2a7eb18f175bc69ce723a226b
BLAKE2b-256 621fae88430fb503a7320c399cac57f6b65468d119288479f42fced7cb30d66c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_gammu-3.3.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 08ea632f4682f77098e36b0b25cc3ca1c19c0b40c4857d4127fbf1944c78cd2a
MD5 aabbce06d6f0f6a76f5c1f45a1089bd8
BLAKE2b-256 0f755d4e4da88f0e94e548a29431670bb760b1926b75335710c86a4264549ef5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_gammu-3.3.0-cp314-cp314-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 26d441d42b053548160f9ee56709da625f920c64f103a4f9e7a3553daa5c1d49
MD5 0761714e8d85976c884b19363eec9687
BLAKE2b-256 a711afa4d3d0a268cf5e6196bd9d3cf8b17b4ea2976a01b1788532e9df11f82b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_gammu-3.3.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4d21cfdfa8155ddf255edaee1055046a89ef66c5163c72ed3a499bbe85205ec6
MD5 c090e8594e1c1de98350c0f55e07bf79
BLAKE2b-256 364822bfe8fbbecbf5e77c662c9026462eee52b9d04c8a19cf8208bddb74ad0f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_gammu-3.3.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 935bb333c0e465e2c230fa28306fa9acb603913de3ad8d090cfc92386000c252
MD5 a83b29c8b7324310917e2962da5b3c38
BLAKE2b-256 998d790002b4594481ea38c1bc657fff31ca24214078366400dc189b6e9ebe35

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_gammu-3.3.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 46d1d6813558d7a59d56bcae2bcd5e58adfba6e77223c3cdd6f61680387811ba
MD5 07f47b5aaddde20ae20c94f70b8c54a0
BLAKE2b-256 c71a20f554deec519fd6a700f438fac3ff426055f61e1741bbd32fab551f650d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_gammu-3.3.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1378c245281912130f695bf34fd58996379ec8500fc81788368e1e1ad47e91b9
MD5 96116973e667dd32eaa2c196e7ed7659
BLAKE2b-256 1b951726210f7a9f7c73496cdb28363c32849d509e95f03edf372d384b356b5a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_gammu-3.3.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7c9799db64f452a6a6e0fcb4c2442998719b0e1c22ac9f3e13ee8bd7adfc2f2e
MD5 5e588361d65666272114587d8c542d76
BLAKE2b-256 499f14aad1c461e84c8733148dd1a345c574715bd75d9329c3f99d0cad54b699

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_gammu-3.3.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 925932c922e505648e5c14195ac50bf755edfb5a4bd6e57d6cd99d8536e63a51
MD5 16ed0c51b66bfb0225234f6d4f19dc62
BLAKE2b-256 0b018dfa14ec23a57fb91354e70cfbf88576e628af802ebd41a14498f24dec41

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_gammu-3.3.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f8ca823a26c24b8285b8b3657d65cee734f83624bc2b3217e5e607ebba9bb85f
MD5 f03622a27947d917d60aa1c883d12a23
BLAKE2b-256 2852ce7b4bafab893d87c0911783cb81041d4f54a0c7d7409e898802945b0e61

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_gammu-3.3.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5daafb736a775d5ed16627875a6a73f9722556f7306a918a68e967deb0622796
MD5 22d75c675a306f7ef88c19f5973674ec
BLAKE2b-256 953e0f70c3def845cc5af1ac597219aae631ebed072843f010568c413313b716

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_gammu-3.3.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4efdec85a8ee266e970f4b94220c94fe028c9c1c15703f37b04ebd28926fd0de
MD5 2bd81d5a9e4008b1788121e459a5b681
BLAKE2b-256 1c5c58a3e61aa226d55c4f7eb5582de806b7da2f9e4bce9ceec0fb3804a70ca7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_gammu-3.3.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 92856b77080b83531d2412aa5291a8b2495c9468831b5e5efcd6f6867f728a11
MD5 1d29cd8a596734861b7f06c892c04c47
BLAKE2b-256 9d08ba5a84fa7d8ebbeb434df519317da3c02d725a9b88e973d6b1dbb3e2ad81

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_gammu-3.3.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 083cad771f82b2a5a4391e878c373d0ab98762435fe1c2486404be0aca8a6f56
MD5 a34057d2530e57e0299eb1d6fab7cfe4
BLAKE2b-256 3e372e13c1c4febba8de7e4f0a1736b838e85f15d7530e6d49642b95acf1d904

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for python_gammu-3.3.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e2cb4b61e7b8d8bc0c80ee3e80b0df65424a90c338361c83b44856a8bbf28bd3
MD5 67395c84849de678bbb1f4d0e827acde
BLAKE2b-256 44fe656477c00e9778d64eee78271b277366abcf9c4f28b894eb36a58c5af5b7

See more details on using hashes here.

Provenance

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

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