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