unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: "Sebastian Spaeth" <Sebastian@SSpaeth.de>
To: Notmuch development list <notmuch@notmuchmail.org>
Subject: Yet another python binding
Date: Thu, 18 Mar 2010 09:59:01 +0100	[thread overview]
Message-ID: <87634u3t0q.fsf@SSpaeth.de> (raw)

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

             reply	other threads:[~2010-03-18  8:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-18  8:59 Sebastian Spaeth [this message]
2010-03-18 15:21 ` Yet another python binding Ben Gamari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87634u3t0q.fsf@SSpaeth.de \
    --to=sebastian@sspaeth.de \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).