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 0039310814 for ; Tue, 1 Apr 2014 21:46:46 +0000 (UTC) Received: (qmail 14858 invoked by uid 500); 1 Apr 2014 21:46:44 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 14655 invoked by uid 500); 1 Apr 2014 21:46:43 -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 14647 invoked by uid 99); 1 Apr 2014 21:46:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2014 21:46:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bchesneau@gmail.com designates 209.85.216.50 as permitted sender) Received: from [209.85.216.50] (HELO mail-qa0-f50.google.com) (209.85.216.50) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2014 21:46:38 +0000 Received: by mail-qa0-f50.google.com with SMTP id o15so10039747qap.23 for ; Tue, 01 Apr 2014 14:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=viSeGpadQZVzSkkGBFtSbr+8tttQ3E7gYLc6yZAZmeM=; b=O9fPnBwcGOeE7Txc0qmUM975KopsE2CV/AcGog/vYmn5/xDOjES5jKyHifkb+RnpYc cs+yHAFR3Mhqx2ydyhPw/VhGOH1mEfFb+aEeOgBoFIAvntD3umjLFGTwkeDGQFk7nEAY um/j051AMZfWvk9M7cjlSt3mtr0e/gcwFau2PmG97WIKx8FnyaYyBrRJAVp4SRpxHbNV zxMIg45GV4YeN6Snq5egzTpn20LWnBXYTWnnxlyEXF5FnwNDttvvk0pmwbTjzPpU8h9r WbaAwVRsSWl3iLw6sxT37KU3YEcujDkvW8Il8K13JJl6NrN0RWMG+KzGz13ZFIPTEusJ Lj6g== X-Received: by 10.229.219.133 with SMTP id hu5mr38543832qcb.5.1396388775228; Tue, 01 Apr 2014 14:46:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.96.30.230 with HTTP; Tue, 1 Apr 2014 14:45:55 -0700 (PDT) In-Reply-To: References: <14256C9E890B874D989F0828DDB264F2AD56EF26@MX45A.corp.emc.com> From: Benoit Chesneau Date: Tue, 1 Apr 2014 23:45:55 +0200 Message-ID: Subject: Re: import csv data into couchdb document using python-cloudant module To: "user@couchdb.apache.org" Content-Type: multipart/alternative; boundary=001a1133c5e6ea78a804f60218f7 X-Virus-Checked: Checked by ClamAV on apache.org --001a1133c5e6ea78a804f60218f7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Apr 1, 2014 at 11:11 PM, Dave Cottlehuber wrote= : > > On Tue, Apr 1, 2014 at 9:37 PM, Ramanadham, Radhika < > > radhika.ramanadham@emc.com> wrote: > > > > > Does anyone have a code snippet to import csv data into couchdb > document > > > leveraging python-cloudant module? > > > I want to check out what's available before trying to figure it out > myself. > > > > > > Thanks for the help in advance! > > > -Radhika > > Radhika, > > https://bitbucket.org/jagan/misc/src/84cefb61c86a/csv2couch.py might be > sufficient for your needs, although a bit dated. There's enough info in > https://cloudant.com/blog/using-python-with-cloudant/ and the newer > https://github.com/cloudant-labs/cloudant-python/ to get up to speed if > not. BTW I'm not a pythoneer (pythonista? pythonian?) so that's as far as= I > can help you. > > On 01. April 2014 at 22:08:32, Benoit Chesneau (bchesneau@gmail.com) > wrote: > > https://github.com/refuge-incubator/rc_csv is a direct rcouch extension= . > > BTW Beno=EEt, you might want to elaborate how this apparently unrelated c= ode > might help the OP; as far as I can tell it doesn't? > > > As far as I can telll if you want to upload CSV on a couchdb node i > As far as I can telll if you want to upload CSV on a couchdb node without using a script you can do it using this extension. That if you have the control of your couchdb node. - benoit --001a1133c5e6ea78a804f60218f7--