A Python module for working with OpenPGP messages
Project description
A Python binding for the gpgme library, used to drive the gpg command line program.
More information about gpgme can be found here:
http://www.gnupg.org/related_software/gpgme/
This binding stays fairly close to the C API with the following exceptions:
-
Memory management is not exposed to the user
-
Functions like
gpgme_get_foo()
/gpgme_set_foo()
are converted to attribute access on gpgme.Context objects. -
Functions that take
gpgme_data_t
arguments take arbitrary Python file-like objects. Theread()
,write()
,seek()
andtell()
methods may be used on the object. -
Non-zero
gpgme_error_t
return values are converted togpgme.GpgmeError
exceptions. -
Only the synchronous versions of functions have been wrapped. However, the Python global interpreter lock is dropped, so should play nicely in multi-threaded Python programs.
-
Function pairs like
gpgme_op_import()
/gpgme_op_import_result()
are combined into single method calls. -
The Python version of
gpgme_op_keylist()
returns an iterator over the matched keys, rather than requiring the user to use a special iteration function.
This library is licensed under the LGPL, the same license as the gpgme library.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file pygpgme-0.4.tar.gz
.
File metadata
- Download URL: pygpgme-0.4.tar.gz
- Upload date:
- Size: 93.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a173565ceafaed21cbab629bd9f6ab7e7c29e4ecdcf0f5e7743538d6d61a1df |
|
MD5 | 23f58414d46a3b310aae902a180f43d2 |
|
BLAKE2b-256 | 532216efa505dd877221455ca93e99fb837bcd1ae44da0ef0e255ba2277cdde7 |
Provenance
File details
Details for the file pygpgme-0.4-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: pygpgme-0.4-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 324.7 kB
- Tags: PyPy, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a9d24c622f5ee451d376f793f58274e7975b942f369eced6159cd5d8287b4b7 |
|
MD5 | 3b1ac0edd398d79a0fcb1b9135cb85a7 |
|
BLAKE2b-256 | 1d5e6a8aba6f7a62075fc25ef88611814dfe430858d1f819dba5fbfefe5345c1 |
Provenance
File details
Details for the file pygpgme-0.4-cp313-cp313-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: pygpgme-0.4-cp313-cp313-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 437.0 kB
- Tags: CPython 3.13, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b292ff71dfd45a8104661d9add2b30438722c2e2ff7e92eb411afd79f545372 |
|
MD5 | 82446e61b98ec62a0a2d851c6488081b |
|
BLAKE2b-256 | 54fd98b7da7a227e5b8006443a854579ca397457d81f17aa1c38c7a55ea662e0 |
Provenance
File details
Details for the file pygpgme-0.4-cp313-cp313-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: pygpgme-0.4-cp313-cp313-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 470.8 kB
- Tags: CPython 3.13, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4160d70ee2b23a5332dbb8b60815c99cddde08c171b4bed8a31720234c38cf5d |
|
MD5 | b837155ce85e6593ba8eac3d72c17c9c |
|
BLAKE2b-256 | a4dd0ea5d0380d82408dee7a78616b416063d92876725c54cadab784ec173761 |
Provenance
File details
Details for the file pygpgme-0.4-cp312-cp312-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: pygpgme-0.4-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 436.5 kB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c753554a4f2c4d2437a5a85ed518b365d2a0de58309dd9d6ac5cbc076c1f1f52 |
|
MD5 | b6ece466fec162b89584d7520ff34dfe |
|
BLAKE2b-256 | d42690af3c460fc16610c0a485211b12513394bf9a834782d5ae3c53f565f64a |
Provenance
File details
Details for the file pygpgme-0.4-cp312-cp312-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: pygpgme-0.4-cp312-cp312-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 470.7 kB
- Tags: CPython 3.12, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdce54b721daacd389ca93e3cc7427880ac85312651c753ca668375933f19243 |
|
MD5 | 5f5987eec4760cfa67cfb4646cee78a2 |
|
BLAKE2b-256 | 3dcc3cc0d21397181a00eb1be99b680bdf76dc176fbfc42d4addf46b440cb309 |
Provenance
File details
Details for the file pygpgme-0.4-cp311-cp311-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: pygpgme-0.4-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 434.4 kB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f66a716fa54af1841a66f28ffccd12fdac61c31fe27b01b7d0e957d1e090468d |
|
MD5 | df7207b0b792c234ca7f2c1a70313c7e |
|
BLAKE2b-256 | 054f597ccf0e3a4f67d3389a7cac938c6544979cac4d2f6185790755f7d95035 |
Provenance
File details
Details for the file pygpgme-0.4-cp311-cp311-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: pygpgme-0.4-cp311-cp311-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 470.5 kB
- Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08d6f29801def02a504ddf17b5ac016e5f3fdf747685c6df4f253db1ef0ed7ce |
|
MD5 | 2643d3bd1198ff2b0fdea2679423344d |
|
BLAKE2b-256 | 584f39d59ff5e47d4fc738628591ced51b9b2c0f5c8f60cf9e89da88cc99be4b |
Provenance
File details
Details for the file pygpgme-0.4-cp310-cp310-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: pygpgme-0.4-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 432.3 kB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c735dab8d2476811a8ee28458d544b5d79d359016c47946c95c249d396ca5a8 |
|
MD5 | a59f852af0eaca63f8ff085244ef25ae |
|
BLAKE2b-256 | 3fbc7d9fb7c2c894fb645173b007a3f66aa2d4561e69c216b43f9af95bbf9b8d |
Provenance
File details
Details for the file pygpgme-0.4-cp310-cp310-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: pygpgme-0.4-cp310-cp310-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 466.3 kB
- Tags: CPython 3.10, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ce9a81aaff928d506aa0f93a683037320a77d67d40f6eabe96ae06a26827bc5 |
|
MD5 | 9b17fef72579fed0e559ce318a957549 |
|
BLAKE2b-256 | cb94ee2b3e3fd3e14167ca6020191fddaa48a8bd51674baac96ce36795f9af84 |