incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Eliott <ben.apperr...@googlemail.com>
Subject Fwd: cassdict
Date Fri, 09 Oct 2009 19:05:24 GMT
>
> Cheers,  I looked at dictmixin, thought may as well subclass dict,  
> but i'll check it out again now, thanks for the tip.
> Ben
>
>
> On 9 Oct 2009, at 18:25, Jonathan Ellis wrote:
>
>> 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