You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by felix gao <gr...@gmail.com> on 2011/01/13 23:34:35 UTC
python client example
Guys,
I just installed python-cassandra 0.6.1 and Thrift 0.5.0 on my machine and I
would like to query against also write into a cassandra server. I guess i
am pretty weak in google-fu, there isn't any examples for me get started
with. Please help me on how to do this.
Thanks,
Felix
Re: python client example
Posted by felix gao <gr...@gmail.com>.
Thanks guys, playing around with pycassa right now. seems pretty good.
On Thu, Jan 13, 2011 at 2:56 PM, Aaron Morton <aa...@thelastpickle.com>wrote:
> Ah, i get it now. The python code generated from running ant gen-thrift-py
> .
>
> IMHO Start with Pycassa *even* if you want to go your own way later. It
> solves a lot of problems for you and will save you time.
>
> A
>
>
> On 14 Jan, 2011,at 11:46 AM, Tyler Hobbs <ty...@riptano.com> wrote:
>
> Right, python-cassandra just provides the raw Thrift API, which is no fun
> at all. You should start out with pycassa.
>
> - Tyler
>
> On Thu, Jan 13, 2011 at 4:45 PM, Aaron Morton <aa...@thelastpickle.com>wrote:
>
>> Sorry, I meant where did you get python-cassandra from on the web.
>>
>> Can you use Pycassa, even just as a learning experience ? There is a
>> tutorial here http://pycassa.github.com/pycassa/tutorial.html
>>
>> <http://pycassa.github.com/pycassa/tutorial.html>A
>>
>>
>>
>> On 14 Jan, 2011,at 11:42 AM, felix gao <gr...@gmail.com> wrote:
>>
>> this is where it is stored
>>
>> /opt/local/Library/Frameworks/Python.framework/Versions/26/lib/python2.6/site-packages/
>>
>>
>> On Thu, Jan 13, 2011 at 2:39 PM, Aaron Morton <aa...@thelastpickle.com>wrote:
>>
>>> Pycassa https://github.com/pycassa/pycassa
>>> Has documentation here http://pycassa.github.com/pycassa/
>>>
>>>
>>> <https://github.com/pycassa/pycassa>Where does python-cassandra live ?
>>> Aaron
>>>
>>>
>>> On 14 Jan, 2011,at 11:34 AM, felix gao <gr...@gmail.com> wrote:
>>>
>>> Guys,
>>>
>>> I just installed python-cassandra 0.6.1 and Thrift 0.5.0 on my machine
>>> and I would like to query against also write into a cassandra server. I
>>> guess i am pretty weak in google-fu, there isn't any examples for me get
>>> started with. Please help me on how to do this.
>>>
>>> Thanks,
>>>
>>> Felix
>>>
>>>
>>
>
Re: python client example
Posted by Aaron Morton <aa...@thelastpickle.com>.
Ah, i get it now. The python code generated from running ant gen-thrift-py .
IMHO Start with Pycassa *even* if you want to go your own way later. It solves a lot of problems for you and will save you time.
A
On 14 Jan, 2011,at 11:46 AM, Tyler Hobbs <ty...@riptano.com> wrote:
Right, python-cassandra just provides the raw Thrift API, which is no fun at all. You should start out with pycassa.
- Tyler
On Thu, Jan 13, 2011 at 4:45 PM, Aaron Morton <aa...@thelastpickle.com> wrote:
Sorry, I meant where did you get python-cassandra from on the web.
Can you use Pycassa, even just as a learning experience ? There is a tutorial here http://pycassa.github.com/pycassa/tutorial.html
A
On 14 Jan, 2011,at 11:42 AM, felix gao <gr...@gmail.com> wrote:
this is where it is stored
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/
On Thu, Jan 13, 2011 at 2:39 PM, Aaron Morton <aa...@thelastpickle.com> wrote:
Pycassa https://github.com/pycassa/pycassa
Has documentation here http://pycassa.github.com/pycassa/
Where does python-cassandra live ?
Aaron
On 14 Jan, 2011,at 11:34 AM, felix gao <gr...@gmail.com> wrote:
Guys,
I just installed python-cassandra 0.6.1 and Thrift 0.5.0 on my machine and I would like to query against also write into a cassandra server. I guess i am pretty weak in google-fu, there isn't any examples for me get started with. Please help me on how to do this.
Thanks,
Felix
Re: python client example
Posted by Tyler Hobbs <ty...@riptano.com>.
Right, python-cassandra just provides the raw Thrift API, which is no fun at
all. You should start out with pycassa.
- Tyler
On Thu, Jan 13, 2011 at 4:45 PM, Aaron Morton <aa...@thelastpickle.com>wrote:
> Sorry, I meant where did you get python-cassandra from on the web.
>
> Can you use Pycassa, even just as a learning experience ? There is a
> tutorial here http://pycassa.github.com/pycassa/tutorial.html
>
> <http://pycassa.github.com/pycassa/tutorial.html>A
>
>
> On 14 Jan, 2011,at 11:42 AM, felix gao <gr...@gmail.com> wrote:
>
> this is where it is stored
>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/
>
> On Thu, Jan 13, 2011 at 2:39 PM, Aaron Morton <aa...@thelastpickle.com>wrote:
>
>> Pycassa https://github.com/pycassa/pycassa
>> Has documentation here http://pycassa.github.com/pycassa/
>>
>>
>> <https://github.com/pycassa/pycassa>Where does python-cassandra live ?
>> Aaron
>>
>>
>> On 14 Jan, 2011,at 11:34 AM, felix gao <gr...@gmail.com> wrote:
>>
>> Guys,
>>
>> I just installed python-cassandra 0.6.1 and Thrift 0.5.0 on my machine and
>> I would like to query against also write into a cassandra server. I guess i
>> am pretty weak in google-fu, there isn't any examples for me get started
>> with. Please help me on how to do this.
>>
>> Thanks,
>>
>> Felix
>>
>>
>
Re: python client example
Posted by Aaron Morton <aa...@thelastpickle.com>.
Sorry, I meant where did you get python-cassandra from on the web.
Can you use Pycassa, even just as a learning experience ? There is a tutorial here http://pycassa.github.com/pycassa/tutorial.html
A
On 14 Jan, 2011,at 11:42 AM, felix gao <gr...@gmail.com> wrote:
this is where it is stored
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/
On Thu, Jan 13, 2011 at 2:39 PM, Aaron Morton <aa...@thelastpickle.com> wrote:
Pycassa https://github.com/pycassa/pycassa
Has documentation here http://pycassa.github.com/pycassa/
Where does python-cassandra live ?
Aaron
On 14 Jan, 2011,at 11:34 AM, felix gao <gr...@gmail.com> wrote:
Guys,
I just installed python-cassandra 0.6.1 and Thrift 0.5.0 on my machine and I would like to query against also write into a cassandra server. I guess i am pretty weak in google-fu, there isn't any examples for me get started with. Please help me on how to do this.
Thanks,
Felix
Re: python client example
Posted by felix gao <gr...@gmail.com>.
this is where it is stored
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/
On Thu, Jan 13, 2011 at 2:39 PM, Aaron Morton <aa...@thelastpickle.com>wrote:
> Pycassa https://github.com/pycassa/pycassa
> Has documentation here http://pycassa.github.com/pycassa/
>
> <https://github.com/pycassa/pycassa>Where does python-cassandra live ?
> Aaron
>
> On 14 Jan, 2011,at 11:34 AM, felix gao <gr...@gmail.com> wrote:
>
> Guys,
>
> I just installed python-cassandra 0.6.1 and Thrift 0.5.0 on my machine and
> I would like to query against also write into a cassandra server. I guess i
> am pretty weak in google-fu, there isn't any examples for me get started
> with. Please help me on how to do this.
>
> Thanks,
>
> Felix
>
>
Re: python client example
Posted by Aaron Morton <aa...@thelastpickle.com>.
Pycassa https://github.com/pycassa/pycassa
Has documentation here http://pycassa.github.com/pycassa/
Where does python-cassandra live ?
Aaron
On 14 Jan, 2011,at 11:34 AM, felix gao <gr...@gmail.com> wrote:
Guys,
I just installed python-cassandra 0.6.1 and Thrift 0.5.0 on my machine and I would like to query against also write into a cassandra server. I guess i am pretty weak in google-fu, there isn't any examples for me get started with. Please help me on how to do this
Thanks,
Felix