[PATCH 1/6] python: add bindings to access config

l-m-h at web.de l-m-h at web.de
Thu Dec 7 03:40:46 PST 2017


The C functions notmuch_database_get_config,
notmuch_database_get_config_list and notmuch_database_set_config are
part of the official C bindings.  So there should also be some python
bindings for them.

Also they are the only way to access the named queries introduced in
b9bf3f44.

The interface of the python functions is designed to be close to the C
functions.
---
 bindings/python/docs/source/database.rst |   6 ++
 bindings/python/notmuch/database.py      | 106 +++++++++++++++++++++++++++++++
 bindings/python/notmuch/globals.py       |   5 ++
 3 files changed, 117 insertions(+)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-python-add-bindings-to-access-config.patch
Type: text/x-patch
Size: 5831 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20171207/60cb0d88/attachment-0001.bin>


More information about the notmuch mailing list