gpgme/lang/python
Werner Koch 36a68bc530
python: Fix wrong use of write.
* lang/python/helpers.c (pyPassphraseCb): Use gpgme_io_writen.
(_gpg_interact_cb): Ditto.
* lang/python/helpers.h (write) [W32]: Remove bad write macro.
--
GnuPG-bug-id: T6501

Using write(2) without checking for EINTR is a not a good idea.
Futher gpgme_io_writen is the correct way to send data from a
callback.  This also fixed the wrong use of a simple macro for
Windows.
2023-05-23 15:52:25 +02:00
..
doc doc: Fix Python example code. 2023-04-26 08:46:45 +09:00
examples doc: Fix Python example code. 2023-04-26 08:46:45 +09:00
src python: Don't call __del__ from __exit__ method. 2022-08-09 09:57:28 +09:00
tests tests: Stop daemons after setting up test environment 2023-02-09 09:33:07 +01:00
gpgme.i python: do not export HAVE_CXX11 definition 2018-10-18 00:30:32 -04:00
helpers.c python: Fix wrong use of write. 2023-05-23 15:52:25 +02:00
helpers.h python: Fix wrong use of write. 2023-05-23 15:52:25 +02:00
Makefile.am python: Make EXTRA_DIST files explicit 2019-05-06 16:08:26 +02:00
MANIFEST.in python: makefiles 2018-10-04 21:10:46 +10:00
private.h doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
README doc: convert more http:// links to https:// 2018-10-18 00:28:51 -04:00
README.org doc: convert more http:// links to https:// 2018-10-18 00:28:51 -04:00
setup.py.in python: Fix configure generating setup.py. 2022-10-26 11:02:36 +09:00
version.py.in python: version as integers 2018-11-22 18:00:22 +11:00

                   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                    GPG - GPGME BINDINGS FOR PYTHON
                   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


Table of Contents
─────────────────

1 Mailing List
2 Bugs
3 Authors
4 History


The "gpg" module is a python interface to the GPGME library:
<https://www.gnupg.org/software/gpgme/>

"gpg" offers two interfaces, one is a high-level, curated, and idiomatic
interface that is implemented as a shim on top of the low-level
interface automatically created using SWIG.

This way we make simple things easy, while still providing the entire
functionality of the underlying library.


1 Mailing List
══════════════

  For general discussion and help see the gnupg-users mailing list:
  <https://lists.gnupg.org/mailman/listinfo/gnupg-users>

  For development see the gnupg-devel mailing list:
  <https://lists.gnupg.org/mailman/listinfo/gnupg-devel>


2 Bugs
══════

  Please report bugs using our bug tracker <https://bugs.gnupg.org> with
  tag (aka project) 'gpgme'.


3 Authors
═════════

  PyME was created by John Goerzen, and maintained, developed, and
  cherished by Igor Belyi, Martin Albrecht, Ben McGinnes, Justus
  Winter, and everyone who contributed to it in any way.

  In 2016 we merged a port of PyME to into the GPGME repository, and
  development will continue there.  Please see the VCS history for the
  list of contributors, and if you do find bugs, or want to contribute,
  please get in touch and help maintain the python gpg bindings.

  Please see the section 'History' further down this document for
  references to previous versions.


4 History
═════════

  • The python bindings were renamed from PyME to "gpg" in 2016.

  • The bindings have been merged into the GPGME repository in 2016.

  • The latest version of PyME for Python 3.2 and above (as of May,
    2015) is v0.9.1.  <https://git.gnupg.org/gpgme.git/lang/py3-pyme>

  • The latest version of PyME for Python 2.6 and 2.7 (as of this
    writing) is v0.9.0.  <https://bitbucket.org/malb/pyme>

  • A previous version of PyME v0.8.0 can be found on sourceforge:
    <http://pyme.sourceforge.net/>

  • A previous version of PyME v0.5.1 which works with GPGME v0.3.15 can
    be found on John Goerzen's PyME page: <http://quux.org/devel/pyme/>
    <https://www.complete.org/JohnGoerzen>