Have you tried smth like http://packages.python.org/CouchDB/ ?
On Tue, Aug 21, 2012 at 12:51 PM, goog cheng wrote:
> Thanks! Mmm, if with python, which method is more better?
>
> 2012/8/21 Andrey Kuprianov
>
> > What is your setup?
> >
> > Basically you would usually upload file first, save it in in some
> temporary
> > directory and then attach your existing couch document. After that the
> > attachment can be either done with cURL directly, or you can use some
> > helper library to do it. In my case, I use PHP-On-Couch (
> >
> >
> https://github.com/dready92/PHP-on-Couch/blob/master/doc/couch_client-document.md#attaching-a-file-to-a-document
> > ).
> >
> > On Tue, Aug 21, 2012 at 9:32 AM, Goog Cheng wrote:
> >
> > > Hey,pal! a common way to upload attachments to CouchDB is to ajax a
> form
> > > including a file, I wanna know the fastest way to upload attachments.
> > Does
> > > it need to apply a backend(I like the RESTful).Any guidance would be
> > > greatly appreciated.
> > >
> >
>