X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2Fpython%2Fdocs%2Fsource%2Findex.rst;h=dec9697fd42f33d7d2e2b6b0cf9ebc0c00517de5;hp=fc3179b46196067d4cf6104c06f1b00c4494639d;hb=8dfbba05fa43013e9c97d94246c167c3d64a9d50;hpb=fb52083bf7eff44f27b2f2fffcbfbcb4faaeda3c;ds=sidebyside diff --git a/bindings/python/docs/source/index.rst b/bindings/python/docs/source/index.rst index fc3179b4..dec9697f 100644 --- a/bindings/python/docs/source/index.rst +++ b/bindings/python/docs/source/index.rst @@ -15,25 +15,13 @@ Within :mod:`notmuch`, the classes :class:`Database`, :class:`Query` provide mos This page contains the main API overview of notmuch |release|. -Notmuch can be imported as:: - - import notmuch - -or:: - - from notmuch import Query, Database - - db = Database('path',create=True) - msgs = Query(db,'from:myself').search_messages() - - for msg in msgs: - print (msg) More information on specific topics can be found on the following pages: .. toctree:: :maxdepth: 1 + quickstart status_and_errors notmuch