Python module and tools for communicating in the Assuan protocol.
Project description
Python module and tools for communicating in the Assuan protocol.
There are a number of GnuPG wrappers for python out there, but they mostly work via the gpg executable. This is an attempt to cut to the chase and speak directly to gpgme-tool (source) over a well-defined socket protocol.
Installation
Dependencies
assuan is a simple package with no external dependencies outside the Python 3.6+ standard library.
Contributing
assuan is available as a Git repository:
$ git clone https://github.com/pygpg/assuan.git
See the homepage for details. To install the checkout, run the standard:
$ pip install -e .[dev]
Usage
Checkout the docstrings and the examples in bin.
Testing
Run the internal unit tests with pytest:
$ python -m pytest
To test running servers by hand, you can use gpg-connect-agent. Despite the name, this program can connect to any Assuan server:
$ gpg-connect-agent --raw-socket name
Licence
This project is distributed under the GNU General Public License Version 3 or greater.
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.