incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: cassdict
Date Fri, 09 Oct 2009 17:25:28 GMT
One suggestion -- consider subclassing DictMixin, instead of dict
itself.  DictMixin is designed for creating things that have a
dict-like api, but aren't actually dicts, whereas dict itself
obviously isn't. :)  Tends to work out cleaner in my experience.

Just my two cents,

-Jonathan

On Fri, Oct 9, 2009 at 12:10 PM, Ben Eliott
<ben.apperrors@googlemail.com> wrote:
> Just a note to inform the list of a python module for cassandra:
>
> http://bitbucket.org/_ben_/cassdict/overview/
>
> For better or worse Cassdict attempts to emulate a standard python
> dictionary as an interface to the python thrift api.
>
> It simplifies thing as far as it goes. Inevitably there's no getting away
> from thrift api in the end. But I hope it can be handy in some respects.
> Additionally there are a couple of mixins to make the thrift objects more
> manageable.
>
> Thanks to Ian Eure @ Digg for his advices in progressing this module.
>
> Ben
>
>

Mime
View raw message