File: README

package info (click to toggle)
pygpgme 0.2-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 440 kB
  • sloc: ansic: 2,860; python: 1,389; makefile: 35; sh: 14
file content (34 lines) | stat: -rw-r--r-- 1,226 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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/(en)/related_software/gpgme/index.html

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.  The read(), write(), seek() and tell() methods
   may be used on the object.

 * Non-zero gpgme_error_t return values are converted to gpgme.error
   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.