X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=bindings%2Fpython%2Fdocs%2Fsource%2Findex.rst;h=a2b42aae6b686ccd5da1357010a861de819c08f3;hp=fc3179b46196067d4cf6104c06f1b00c4494639d;hb=594dbb62432bd7f92d1e121145b80628eb8aad2a;hpb=fb52083bf7eff44f27b2f2fffcbfbcb4faaeda3c diff --git a/bindings/python/docs/source/index.rst b/bindings/python/docs/source/index.rst index fc3179b4..a2b42aae 100644 --- a/bindings/python/docs/source/index.rst +++ b/bindings/python/docs/source/index.rst @@ -15,33 +15,17 @@ 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 + notes status_and_errors notmuch -:mod:`notmuch` -- The Notmuch interface -================================================= - -.. automodule:: notmuch - :class:`Database` -- The underlying notmuch database ---------------------------------------------------------------------