Re:GnuPG is not a library
by dfc on Thursday February 07, 2013 @01:37AM
(#5180891)
If you just need to do crypto in python use keyczar[1] or pynacl[2], and keyczar is probably the best bet.
But if you need to do gpg compatible crypto use the python wrapper for gpgme:
pygpgme exposes the gpgme library to Python. The product was started by
James Henstridge. Beside Python2 it supports Python 3 since v0.3 (March
2012). The wrapping is done using python's C interface directly without
using a generator tool like SWIG.[3]
But if you need to do gpg compatible crypto use the python wrapper for gpgme:
[1] http://www.keyczar.org[2] https://github.com/seanlynch/pynacl
[3] http://pypi.python.org/pypi/pygpgme