unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Yet another python binding
@ 2010-03-18  8:59 Sebastian Spaeth
  2010-03-18 15:21 ` Ben Gamari
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Spaeth @ 2010-03-18  8:59 UTC (permalink / raw
  To: Notmuch development list

I've been bragging on IRC over the last couple of days already, so some
might already be annoyed by this, but here it goes:

I've been binding the notmuch shared library to python and so far it
works really nice. It "only" requires that you have a libnotmuch.so or
libnotmuch.so.1 installed in some library path and a python>=2.5.

API docs of bound methods: http://spaetz.bitbucket.org/docs/html/index.html
Source code: http://bitbucket.org/spaetz/cnotmuch/

-------------------------
I've reimplemented a python-based notmuch "binary" (to be able to run the
test suite on it), that implements the following commands:
(The performance is comparable to that of the real notmuch)

- show: outputs message stubs, formatting is still missing; no
  --entire-threads option
- count, tag, dump, search-tags

Missing is still:
 setup, reply
 new (this is  still hard)
 search (still missing the notmuch_threads* bindings)
 restore (trivial, but not done yet)
-------------------------

Get it via "hg clone https://spaetz@bitbucket.org/spaetz/cnotmuch/".
(Switch to the branch with the current static documentation with "hg up
docs" and back to the code with "hg up default".)

If you are interested in using notmuch from python, give it a look. I
plan to convert notmuchsync to this soon and hope to get a nice boost
from it.

spaetz

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Yet another python binding
  2010-03-18  8:59 Yet another python binding Sebastian Spaeth
@ 2010-03-18 15:21 ` Ben Gamari
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Gamari @ 2010-03-18 15:21 UTC (permalink / raw
  To: Sebastian Spaeth, Notmuch development list

On Thu, 18 Mar 2010 09:59:01 +0100, "Sebastian Spaeth" <Sebastian@SSpaeth.de> wrote:
> I've been bragging on IRC over the last couple of days already, so some
> might already be annoyed by this, but here it goes:
> 
> I've been binding the notmuch shared library to python and so far it
> works really nice. It "only" requires that you have a libnotmuch.so or
> libnotmuch.so.1 installed in some library path and a python>=2.5.
> 
Looks awesome. I like this far better than my own SWIG bindings. 

- Ben

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-18 15:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-18  8:59 Yet another python binding Sebastian Spaeth
2010-03-18 15:21 ` Ben Gamari

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).