Python analogous for the CLI command
authorFlavius Aspra <flavius.as@gmail.com>
Thu, 18 Apr 2013 08:11:37 +0000 (10:11 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:54:24 +0000 (09:54 -0800)
d9/cb1c9fc72386441eb4973489efe53edb81f194 [new file with mode: 0644]

diff --git a/d9/cb1c9fc72386441eb4973489efe53edb81f194 b/d9/cb1c9fc72386441eb4973489efe53edb81f194
new file mode 100644 (file)
index 0000000..e4b8ee7
--- /dev/null
@@ -0,0 +1,113 @@
+Return-Path: <flavius.as@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 160B3431FB6\r
+       for <notmuch@notmuchmail.org>; Thu, 18 Apr 2013 01:13:30 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id ln72DobNMlFz for <notmuch@notmuchmail.org>;\r
+       Thu, 18 Apr 2013 01:13:27 -0700 (PDT)\r
+Received: from mail-ee0-f43.google.com (mail-ee0-f43.google.com\r
+ [74.125.83.43])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 39223431FAF   for <notmuch@notmuchmail.org>; Thu, 18 Apr 2013 01:13:27 -0700\r
+ (PDT)\r
+Received: by mail-ee0-f43.google.com with SMTP id e50so1158131eek.16\r
+       for <notmuch@notmuchmail.org>; Thu, 18 Apr 2013 01:13:26 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=x-received:date:from:to:subject:message-id:reply-to:mime-version\r
+       :content-type:content-disposition;\r
+       bh=jdaJaALpLkQSB2n3ItdKjUzN/AjL3jYp5JMBfSqMrCw=;\r
+       b=UK11fYKeqFdX1jfBQpfllVtHWOx9D2iSCNcoN5K14JW2gNYYwT/z+WvxlqNm+OtMKH\r
+       2b/hLb7H4reqMEzeQYSkiqaT4Dyc24q7kOskOH8R/lheEXVV3X+8FBcQw79TPqVj7+Pm\r
+       AUPYR7Qww1rzymmZB63znMimrngIJX5zEpuRaFzMOCSBXnbj4VqHnMcFDhadAOoJBNeo\r
+       E3RnGpj+d1rplsq/lEqop4fctVVqSd9IrDoVecGmhXH1qE+XcQ4HCkRqiS+ji53gFGUR\r
+       9WWltdn+sc3LUNN+ZKRRXkaXLIbXDdYHnbtlRdhVpBLjOv5EYywErfeOKO8QLCRzqQV8\r
+       /bRg==\r
+X-Received: by 10.15.41.2 with SMTP id r2mr27543818eev.20.1366272805827;\r
+       Thu, 18 Apr 2013 01:13:25 -0700 (PDT)\r
+Received: from localhost (chello080109207086.1.graz.surfer.at.\r
+ [80.109.207.86])      by mx.google.com with ESMTPS id\r
+ n48sm13886651eeg.12.2013.04.18.01.13.24       (version=TLSv1.2 cipher=RC4-SHA\r
+ bits=128/128);        Thu, 18 Apr 2013 01:13:25 -0700 (PDT)\r
+Date: Thu, 18 Apr 2013 10:11:37 +0200\r
+From: Flavius Aspra <flavius.as@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: Python analogous for the CLI command\r
+Message-ID: <20130418081137.GA598@evolution>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; micalg=pgp-sha1;\r
+       protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd"\r
+Content-Disposition: inline\r
+X-Mailman-Approved-At: Thu, 18 Apr 2013 01:31:54 -0700\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+Reply-To: flavius.as@gmail.com\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 18 Apr 2013 08:13:30 -0000\r
+\r
+\r
+--ZPt4rx8FFjLCG7dd\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Hi\r
+\r
+Can you give me some pointers on how to use the python module to get the JS=\r
+ON\r
+data with notmuch effort, equivalent to the command:\r
+\r
+    notmuch show --entire-thread=3Dtrue --format=3Djson id:<id>\r
+\r
+?\r
+\r
+Some key classes and methods would be helpful. From the documentation of the\r
+python code, I couldn't find indications about any of the parameters like\r
+--entire-thread and --format.\r
+\r
+Thanks,\r
+Flavius Aspra\r
+\r
+--=20\r
+What I cannot create, I do not understand. -- Feynman\r
+\r
+--ZPt4rx8FFjLCG7dd\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2.0.19 (GNU/Linux)\r
+\r
+iQIcBAEBAgAGBQJRb6q5AAoJEF/j7mRyq82dvqwQAMIIF8WtDg3+bOg0RoxnK2rI\r
++O/ztCdQvUByn9YABbdTKPIkomRQIY6raVDIDh7lzVD/mgymUBGEWitX6iDykS1b\r
+4FhUsb/RGWsHegX/o0vh9IqtPv4TJsmmPNzeXr4CsscWmIrSr1WvWHt4KAvZzrmX\r
+/Oig7JeRZwPhDGitpGZ/BCtGtA9I6kZmxR56voimLcvOfL/HORTQzsEs5SXvANbV\r
+relXj55eX0+lou6wGDEkgifWfzUyPFxuK/8gJfsJltJe3xj9Td8DqaGQcMRrNFdZ\r
+hhBcFYzGBopUvV+R1G2oTBFdfoT3wunAJo44uwF55gMy8LoeesjRx9dRy7yznCrR\r
+RuwqzLAnCF1HA8z2sY/Uuk8hWuHHdb62CsGYgY2qoGrPIslgFmlW+Vjrbe1cWvMG\r
+3/Zi4KwL9m/GeHoaiUTMqBbs/pxz7jG1WwcqlY9t1bErB8D0XIJhc74AwrpLewhc\r
+HsvcE5XVWWUMuLTxTNviyh0H6ri2xECVvKtKTYBT1Q/Ss3QxnyUVxF1Yus03VpZS\r
+564PkejRVY/ejbVFeG4jTWWWqPFl3UIuyRP8wKsV+MeW0KzwgK+qI+dvEvFxBgj+\r
+7zYA/L7CCqayhmHoXugTLRg//gsSa8ouV48QzPCjZRUYY2rK9vhmZq+n1SGfblbY\r
+GxptBzVJZElajA+cAycr\r
+=98hf\r
+-----END PGP SIGNATURE-----\r
+\r
+--ZPt4rx8FFjLCG7dd--\r