> Alternatively, you could use the python bindings to libnotmuch and call > the functions directly. You could do that in a unthreaded or threaded > fashion... I've had a look to the python libnotmuch documentation. My problem with this API is that, unless I did not read it correctly, if I use one of its functions in a threaded fashion, I still have to wait for this function to finish until I get results. When using the command line tool, I can process the text as it gets printed on stdout, and I have data to show to the user even though notmuch has not finished to output it...