From user-return-17411-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Wed Aug 10 23:35:09 2011 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 20D828912 for ; Wed, 10 Aug 2011 23:35:09 +0000 (UTC) Received: (qmail 32935 invoked by uid 500); 10 Aug 2011 23:35:07 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 32876 invoked by uid 500); 10 Aug 2011 23:35:06 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 32868 invoked by uid 99); 10 Aug 2011 23:35:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2011 23:35:06 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [128.18.84.113] (HELO mailgate-internal3.sri.com) (128.18.84.113) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 10 Aug 2011 23:34:55 +0000 Received: from brightmail-internal1.sri.com (128.18.84.121) by mailgate-internal3.sri.com with SMTP; 10 Aug 2011 23:34:32 -0000 X-AuditID: 80125479-b7c61ae000000cd9-33-4e431588216b Received: from mars.esd.sri.com (mars.esd.sri.com [128.18.26.200]) by brightmail-internal1.sri.com (Symantec Brightmail Gateway) with SMTP id 5F.FF.03289.885134E4; Wed, 10 Aug 2011 16:34:32 -0700 (PDT) MIME-version: 1.0 Received: from [192.12.16.233] by mars.esd.sri.com (Sun Java(tm) System Messaging Server 6.3-8.05 (built Sep 1 2009; 64bit)) with ESMTPSA id <0LPQ00982K5EM030@mars.esd.sri.com> for user@couchdb.apache.org; Wed, 10 Aug 2011 16:34:26 -0700 (PDT) From: Jim Klo Content-type: multipart/signed; boundary=Apple-Mail-32--295376844; protocol="application/pkcs7-signature"; micalg=sha1 Subject: CouchDB with py-yajl or yajl-py? Date: Wed, 10 Aug 2011 16:34:31 -0700 Message-id: To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1084) X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-32--295376844 Content-Type: multipart/alternative; boundary=Apple-Mail-31--295376934 --Apple-Mail-31--295376934 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Wondering if anyone happens to have some sample code they can share = using one of the Python wrappers for Yajl interfacing with CouchDB...=20 I need to stream the my response back from within my Pylons controller, = hence I need to process a doc at a time. Wondering if anyone has a = basic recipe to follow to process docs SAX style? Thanks, - Jim Jim Klo Senior Software Engineer Center for Software Engineering SRI International --Apple-Mail-31--295376934 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Jim Klo
Senior Software Engineer
Center for Software Engineering
SRI = International




= --Apple-Mail-31--295376934-- --Apple-Mail-32--295376844 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJ/zCCBO0w ggRWoAMCAQICEBZ7jcIF++u6rxPdCkJYyG0wDQYJKoZIhvcNAQEFBQAwgdgxCzAJBgNVBAYTAlVT MRowGAYDVQQKExFTUkkgSW50ZXJuYXRpb25hbDEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0 d29yazE7MDkGA1UECxMyVGVybXMgb2YgdXNlIGF0IGh0dHBzOi8vd3d3LnZlcmlzaWduLmNvbS9y cGEgKGMpMDIxMDAuBgNVBAsTJ0NsYXNzI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