You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Benoit Chesneau <bc...@gmail.com> on 2008/11/26 08:36:33 UTC

new python lib in the cloud

Hi all,

Just a quick mail to let you know, I've published a new couchdb python
library we use internally here :

http://code.google.com/p/couchdb-python/

full doc here :
http://py-simplecouchdb.e-engura.org/


One o the main feature of this lib is to allow you to maintain schema
free document in python.

Any feedback is appreciated.

- benoît

Re: new python lib in the cloud

Posted by Benoit Chesneau <bc...@gmail.com>.
On Wed, Nov 26, 2008 at 10:22 AM, Noah Slater <ns...@apache.org> wrote:
> On Wed, Nov 26, 2008 at 09:16:36AM +0000, Noah Slater wrote:
>> On Wed, Nov 26, 2008 at 08:36:33AM +0100, Benoit Chesneau wrote:
>> > Just a quick mail to let you know, I've published a new couchdb python
>> > library we use internally here :
>> >
>> > http://code.google.com/p/couchdb-python/
>>
>> Is this a mistake? This is Christopher Lenz's library.
>
> Ah, I think you meant to link to this page:
>
>  http://code.google.com/p/py-simplecouchdb/


grmpfff right, was on wiki when I edited my mail :/

>
> I would be interested in packaging for Debian, but I am curious to know why you
> didn't work on modifying or improving Chris's library instead?
>
> --
> Noah Slater, http://tumbolia.org/nslater
>

In fact I didn't patched couchdb-python because it was moving in the
same time I was thinking about patching it  and I needed rapidly a
free-schema document management in python. py-simplecouchdb started as
a an internal change to it. Then I gave some edit to the client and
started to rewrite the schema stuff.

Now you have different features in simplecouchdb

- free-schema
- view synchronisation (inspired fromd django and ViewDefinition
system of couchdb-python) - autodetection of basic types from couchdb
to python.
- data validation (even if you could do it now on server side)
- doc type feature (each document has a doc_type property)
- client allow you to save/delete transparently multiple docs
...

Something I like too is the documentation even if it's far from
perfect right now, english is
defintly not my my main language and some features aren't documented yet ;)

Some other stuff I will add to simplecouchdb soon are :
 - better handling of attachment. I'm not satisfied by the way it's
done right now.
 - Better way to manage view with a python application. Maybe
something similare to what I do in friendpaste
(https://dev.e-engura.org/hg/friendpaste/file/a85eb3481574/friendpaste/loader.py)
but that could be apply easily to view property.
...

voilà


- benoît

Re: new python lib in the cloud

Posted by Noah Slater <ns...@apache.org>.
On Wed, Nov 26, 2008 at 09:16:36AM +0000, Noah Slater wrote:
> On Wed, Nov 26, 2008 at 08:36:33AM +0100, Benoit Chesneau wrote:
> > Just a quick mail to let you know, I've published a new couchdb python
> > library we use internally here :
> >
> > http://code.google.com/p/couchdb-python/
>
> Is this a mistake? This is Christopher Lenz's library.

Ah, I think you meant to link to this page:

  http://code.google.com/p/py-simplecouchdb/

I would be interested in packaging for Debian, but I am curious to know why you
didn't work on modifying or improving Chris's library instead?

-- 
Noah Slater, http://tumbolia.org/nslater

Re: new python lib in the cloud

Posted by Noah Slater <ns...@apache.org>.
On Wed, Nov 26, 2008 at 08:36:33AM +0100, Benoit Chesneau wrote:
> Just a quick mail to let you know, I've published a new couchdb python
> library we use internally here :
>
> http://code.google.com/p/couchdb-python/

Is this a mistake? This is Christopher Lenz's library.

-- 
Noah Slater, http://tumbolia.org/nslater