mailmanclient library provides official Python bindings for the GNU
Mailman 3 REST API.
Note that the test suite current requires that a Mailman 3 server be running. It should be running using a dummy or throw-away database, as this will make changes to the running system. TBD: mock the real Mailman engine so that it is not necessary in order to run these tests.
mailmanclient requires Python 2.6 or newer.
You can also install it via
$ sudo pip install mailmanclient
See the GitLab project page for access to the development branch, issues, etc.