incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rubén Abad <ra...@paradigmatecnologico.com>
Subject Re: [ANN] couchable 0.0.1b1 (Python object to couchdb document mapper)
Date Fri, 13 Aug 2010 09:39:59 GMT
desa@CentOS-53-64-minimal:~/Yell/version_32$ telnet localhost 8888
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
hotel en el barrio de goya en madrid^M
loca:madrid:madrid&oria|tipoEstablecimiento:hotel:|radius:500:|prov::madrid|WHERE:ALO:|prob:0.273118353177909:|barrio:goya:goya|cobertura:0:|distrito::barrio
de
salamanca|##loca::madrid|tipoEstablecimiento:hotel:|radius:500:|prov:madrid:madrid|WHERE:ALO:|prob:0.2725130628322:|barrio:goya:goya|cobertura:0:|distrito::barrio
de
salamanca|##loca:madrid:madrid&oria|prov::madrid&almeria|WHERE:ALO:|tipoEstablecimiento:hotel:|prob:0.227490540086524:|radius:500:|wayName:goya:|cobertura:0:|##loca:goya:guntin|prov::lugo|WHERE:ALO:|tipoEstablecimiento:hotel:|prob:0.226878043903366:|radius:500:|cobertura:0:|##
##EndConnection##
Connection closed by foreign host.

On Fri, Aug 13, 2010 at 11:17 AM, Dirkjan Ochtman <dirkjan@ochtman.nl>wrote:

> On Fri, Aug 13, 2010 at 10:54, Eli Stevens (Gmail) <wickedgrey@gmail.com>
> wrote:
> > Philosophically, it feels like couchdb.mapping and couchdbkit are
> > trying to take CouchDB documents and expose them to Python.  Couchable
> > aims to go the other way - take arbitrary Python objects and store
> > them in CouchDB (a poorly-stated goal of couchable is that *any*
> > Python object should be able to round-trip cleanly).  This results in
> > objects like 'a' in the following being able to round-trip cleanly, at
> > the expense of a somewhat loud document in CouchDB:
>
> Okay, that sounds sensible, and I think that would be inappropriate
> for couchdb-python. :)
>
> Thanks for clarifying.
>
> Cheers,
>
> Dirkjan
>



-- 
Rubén Abad Agulló

http://www.paradigmatecnologico.com
Avenida de Europa, 26. Ática 5. 3ª Planta
28224 Pozuelo de Alarcón

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message