61c08f7435
* Added new advanced section with an example of using the Python bindings with CPython code compiled back to C code using Cython. * Though it may seem a bit counter-intuitive to use the bindings just to go back to C via a different route, this is not actually stupid. * Added examples/howto/advanced/cython/ directory. * Added keycount.pyx, setup.py and the keycount.c file which the first two generated with Cython. Not including the .so and .o files from the build. * Exported the .texi version of the howto for the main docs. |
||
---|---|---|
.. | ||
advanced/cython | ||
add-userid.py | ||
clear-sign-file.py | ||
create-key.py | ||
decrypt-file.py | ||
detach-sign-file.py | ||
encrypt-file.py | ||
encrypt-sign-file.py | ||
encrypt-to-group-gullible.py | ||
encrypt-to-group-trustno1.py | ||
encrypt-to-group.py | ||
export-key.py | ||
export-minimised-key.py | ||
export-secret-key.py | ||
export-secret-keys.py | ||
groups.py | ||
import-key.py | ||
import-keys.py | ||
keycount.py | ||
mutt-groups.py | ||
pmkey-import-alt.py | ||
pmkey-import.py | ||
README.org | ||
revoke-userid.py | ||
sign-file.py | ||
sign-key.py | ||
symcrypt-file.py | ||
temp-homedir-config.py | ||
verify-signatures.py | ||
verify-signed-file.py |
GPGME Python Bindings HOWTO Examples
Examples
The contents of this directory are the examples included in the GNU Privacy Guard (GnuPG) Made Easy Python Bindings HOWTO file. Each script is explicitly for Python 3 and specifically for Python 3.4 or later.
Some of these scripts may work with Python 2.7, but there are no
guarantees. They will include the relevant imports from the
__future__
module to facilitate that if possible.
Copyright and Licensing
Unless otherwise stated, all the examples in this directory are released under the same terms as GPGME itself; that is they are dual licensed under the terms of both the GNU General Public License version 2.0 (or any later version) and the GNU Lesser General Public License version 2.1 (or any later version).
Copyright (C) The GnuPG Project, 2018
Copyright © The GnuPG Project, 2018.
License GPL compatible
This file is free software; as a special exception the author gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved.
This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.