aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen McGinnes <[email protected]>2018-03-19 21:26:57 +0000
committerBen McGinnes <[email protected]>2018-03-19 21:26:57 +0000
commit6950a63e63d60685ddb6f4cbff7b826b8acb5b13 (patch)
tree9f66b576ec4a3ba67e6fd2c2fbe941e2645c4252
parentexample: python bindings encryption (diff)
downloadgpgme-6950a63e63d60685ddb6f4cbff7b826b8acb5b13.tar.gz
gpgme-6950a63e63d60685ddb6f4cbff7b826b8acb5b13.zip
docs: python bindings examples
* Added reference to location where all the examples included in the HOWTO will be available as executable scripts. * Included a short README file in that location.
-rw-r--r--lang/python/docs/GPGMEpythonHOWTOen.org11
-rw-r--r--lang/python/examples/howto/README.org24
2 files changed, 34 insertions, 1 deletions
diff --git a/lang/python/docs/GPGMEpythonHOWTOen.org b/lang/python/docs/GPGMEpythonHOWTOen.org
index b364b516..770c2784 100644
--- a/lang/python/docs/GPGMEpythonHOWTOen.org
+++ b/lang/python/docs/GPGMEpythonHOWTOen.org
@@ -1,4 +1,4 @@
-#+TITLE: GNU Privacy Guard (GnuPG) Made Easy Python Bindings HOWTO (English)
+#+TITLE: GNU Privacy Guard (GnuPG) Made Easy Python Bindings HOWTO (English)
#+LATEX_COMPILER: xelatex
#+LATEX_CLASS: article
#+LATEX_CLASS_OPTIONS: [12pt]
@@ -49,6 +49,15 @@
data types with which GPGME deals considerably easier.
+** Examples
+ :PROPERTIES:
+ :CUSTOM_ID: howto-python3-examples
+ :END:
+
+ All of the examples found in this document can be found as Python 3
+ scripts in the =lang/python/examples/howto= directory.
+
+
* GPGME Concepts
:PROPERTIES:
:CUSTOM_ID: gpgme-concepts
diff --git a/lang/python/examples/howto/README.org b/lang/python/examples/howto/README.org
new file mode 100644
index 00000000..ee8c9863
--- /dev/null
+++ b/lang/python/examples/howto/README.org
@@ -0,0 +1,24 @@
+#+TITLE: GPGME Python Bindings HOWTO Examples
+#+LATEX_COMPILER: xelatex
+#+LATEX_CLASS: article
+#+LATEX_CLASS_OPTIONS: [12pt]
+#+LATEX_HEADER: \usepackage{xltxtra}
+#+LATEX_HEADER: \usepackage[margin=1in]{geometry}
+#+LATEX_HEADER: \setmainfont[Ligatures={Common}]{Times New Roman}
+#+LATEX_HEADER: \author{Ben McGinnes <[email protected]>}
+
+
+* Examples
+ :PROPERTIES:
+ :CUSTOM_ID: gpgme-python3-examples
+ :END:
+
+ 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.
+