You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Wouter Bolsterlee <uw...@xs4all.nl> on 2012/05/21 00:14:01 UTC

Announcing HappyBase, a developer-friendly Python library to interact with HBase

Hi all,

I'm happy to announce HappyBase, a developer-friendly Python library to
interact with Apache HBase.

HappyBase is designed for for use in standard HBase setups, and offers
application developers a Pythonic API to interact with HBase.

Below the surface, HappyBase uses the Python Thrift library to connect to
HBase’s Thrift gateway, which is included in the standard HBase 0.9x
releases. HappyBase hides most of the details of the underlying RPC
mechanisms, resulting in application code that is cleaner, more productive
to write, and more maintainable.

The documentation, including an installation guide, a tutorial and an API
reference, can be found here:

  http://readthedocs.org/docs/happybase/

The code can be found here:

  https://github.com/wbolster/happybase

Please try it out. Feedback and patches welcome!

    — Wouter

Re: Announcing HappyBase, a developer-friendly Python library to interact with HBase

Posted by Stack <st...@duboce.net>.
On Mon, May 21, 2012 at 10:41 AM, Wouter Bolsterlee <uw...@xs4all.nl> wrote:
> Luke Lu schreef op ma 21-05-2012 om 10:38 [-0700]:
>> Looks like it use the legacy thrift interface.
>
> Yes, it does. I might port it to Thrift 2 later, as mentioned in the
> docs: http://readthedocs.org/docs/happybase/en/latest/todo.html
>
>> Stack, do you know
>> anybody using the new thrift2 interface?
>
> It's not in 0.92.x, is it?
>

It doesn't show up until 0.94.

Ideally we'd use thrift2 going forward but we'd need someone to drive
the transition and ensure thrift2 a superset of thrift1.  Until that
happens, it seems that thrift1 will prevail with folks sending in
patches to add the bits of missing functionality they need.

St.Ack

Re: Announcing HappyBase, a developer-friendly Python library to interact with HBase

Posted by Wouter Bolsterlee <uw...@xs4all.nl>.
Luke Lu schreef op ma 21-05-2012 om 10:38 [-0700]:
> Looks like it use the legacy thrift interface.

Yes, it does. I might port it to Thrift 2 later, as mentioned in the
docs: http://readthedocs.org/docs/happybase/en/latest/todo.html

> Stack, do you know
> anybody using the new thrift2 interface?

It's not in 0.92.x, is it?

    — Wouter

Re: Announcing HappyBase, a developer-friendly Python library to interact with HBase

Posted by Luke Lu <ll...@apache.org>.
Looks like it use the legacy thrift interface. Stack, do you know
anybody using the new thrift2 interface?

On Mon, May 21, 2012 at 8:55 AM, Stack <st...@duboce.net> wrote:
> On Sun, May 20, 2012 at 3:14 PM, Wouter Bolsterlee <uw...@xs4all.nl> wrote:
>> Hi all,
>>
>> I'm happy to announce HappyBase, a developer-friendly Python library to
>> interact with Apache HBase.
>>
>
> Thanks for doing this.  It looks great (Docs even!)
> St.Ack

Re: Announcing HappyBase, a developer-friendly Python library to interact with HBase

Posted by Wouter Bolsterlee <uw...@xs4all.nl>.
Stack schreef op ma 21-05-2012 om 08:55 [-0700]:
> Thanks for doing this.  It looks great (Docs even!)

You're welcome. And yes, it has documentation, and also unit tests with
100% code line coverage.  :)

    — Wouter

Re: Announcing HappyBase, a developer-friendly Python library to interact with HBase

Posted by Stack <st...@duboce.net>.
On Sun, May 20, 2012 at 3:14 PM, Wouter Bolsterlee <uw...@xs4all.nl> wrote:
> Hi all,
>
> I'm happy to announce HappyBase, a developer-friendly Python library to
> interact with Apache HBase.
>

Thanks for doing this.  It looks great (Docs even!)
St.Ack

Re: Announcing HappyBase, a developer-friendly Python library to interact with HBase

Posted by Wouter Bolsterlee <uw...@xs4all.nl>.
2012-05-23 klockan 01:53 skrev Rita:
> looks great and thanks for doing this.

Thanks, you're welcome.

> Whats with the name?
> 
> I fear I will be running into this problem when presenting...
> http://news.ycombinator.com/item?id=2687372

I'm not sure I'm following. HappyBase is just a pun on "Py" (from Python)
and "HBase" (Hadoop database). The reasoning was more or less PyHBase (nah),
HPyBase (yuck), HappyBase (yay!).

Care to elaborate?

    — Wouter

Re: Announcing HappyBase, a developer-friendly Python library to interact with HBase

Posted by Rita <rm...@gmail.com>.
looks great and thanks for doing this.

Whats with the name?

I fear I will be running into this problem when presenting...
http://news.ycombinator.com/item?id=2687372




On Mon, May 21, 2012 at 6:30 PM, Wouter Bolsterlee <uw...@xs4all.nl> wrote:

> Todd DeLuca schreef op ma 21-05-2012 om 15:32 [-0400]:
> > Please check your github pull requests for a fix for the thrift
> > dependency.
>
> Thanks, I've merged https://github.com/wbolster/happybase/pull/1
>
>    — Wouter
>



-- 
--- Get your facts first, then you can distort them as you please.--

Re: Announcing HappyBase, a developer-friendly Python library to interact with HBase

Posted by Wouter Bolsterlee <uw...@xs4all.nl>.
Todd DeLuca schreef op ma 21-05-2012 om 15:32 [-0400]:
> Please check your github pull requests for a fix for the thrift
> dependency.

Thanks, I've merged https://github.com/wbolster/happybase/pull/1

    — Wouter

Re: Announcing HappyBase, a developer-friendly Python library to interact with HBase

Posted by Todd DeLuca <to...@gmail.com>.
Hi Wouter,

Please check your github pull requests for a fix for the thrift dependency.
 In short, setup.py was dying when importing your package, before it had a
chance to install the missing dependency.  Now I need to go fix this in my
stuff.  :-)

Cheers,
Todd

On Mon, May 21, 2012 at 1:51 PM, Wouter Bolsterlee <uw...@xs4all.nl> wrote:

> Marcos Ortiz schreef op ma 21-05-2012 om 12:01 [-0400]:
> > +1 for this library, good design, it provides a clean and quick way to
> > interact with HBase using Python.
> > Can you upload it to PIP?
>
> Hi Marcos,
>
> I assume you meant PyPI, which pip uses. HappyBase is already available
> from PyPI:
>
>  http://pypi.python.org/pypi/happybase/
>
> See the docs for more information about installing HappyBase:
>
>  http://readthedocs.org/docs/happybase/en/latest/installation.html
>
> However, for some reason it doesn't pull in the Thrift dependency
> correctly when typing just "pip install happybase", even though Thrift
> is both in the install_requires and in the requirements.txt file. I
> would really appreciate any help on fixing this.
>
>    — Wouter
>



-- 
Todd DeLuca
http://todddeluca.com
http://wall.hms.harvard.edu/

Re: Announcing HappyBase, a developer-friendly Python library to interact with HBase

Posted by Wouter Bolsterlee <uw...@xs4all.nl>.
Marcos Ortiz schreef op ma 21-05-2012 om 12:01 [-0400]:
> +1 for this library, good design, it provides a clean and quick way to
> interact with HBase using Python.
> Can you upload it to PIP?

Hi Marcos,

I assume you meant PyPI, which pip uses. HappyBase is already available
from PyPI:

 http://pypi.python.org/pypi/happybase/

See the docs for more information about installing HappyBase:

  http://readthedocs.org/docs/happybase/en/latest/installation.html 

However, for some reason it doesn't pull in the Thrift dependency
correctly when typing just "pip install happybase", even though Thrift
is both in the install_requires and in the requirements.txt file. I
would really appreciate any help on fixing this.

    — Wouter

Re: Announcing HappyBase, a developer-friendly Python library to interact with HBase

Posted by Marcos Ortiz <ml...@uci.cu>.
+1 for this library, good design, it provides a clean and quick way to 
interact with HBase using Python.
Can you upload it to PIP?
Regards

On 05/21/2012 03:25 AM, Leon Mergen wrote:
> On Mon, May 21, 2012 at 12:14 AM, Wouter Bolsterlee<uw...@xs4all.nl>  wrote:
>
>> Hi all,
>>
>> I'm happy to announce HappyBase, a developer-friendly Python library to
>> interact with Apache HBase.
>>
>> HappyBase is designed for for use in standard HBase setups, and offers
>> application developers a Pythonic API to interact with HBase.
>>
> Hi Wouter,
>
>
> This looks like a well-designed, pleasant to use library which will make
> integration of hbase with python a lot easier. Thanks a lot for this!
>
>
> - Leon Mergen
>
>
> 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS...
> CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION
>
> http://www.uci.cu
> http://www.facebook.com/universidad.uci
> http://www.flickr.com/photos/universidad_uci

-- 
Marcos Luis Ortíz Valmaseda
  Data Engineer&&  Sr. System Administrator at UCI
  http://marcosluis2186.posterous.com
  http://www.linkedin.com/in/marcosluis2186
  Twitter: @marcosluis2186



10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci

Re: Announcing HappyBase, a developer-friendly Python library to interact with HBase

Posted by Leon Mergen <le...@solatis.com>.
On Mon, May 21, 2012 at 12:14 AM, Wouter Bolsterlee <uw...@xs4all.nl> wrote:

> Hi all,
>
> I'm happy to announce HappyBase, a developer-friendly Python library to
> interact with Apache HBase.
>
> HappyBase is designed for for use in standard HBase setups, and offers
> application developers a Pythonic API to interact with HBase.
>

Hi Wouter,


This looks like a well-designed, pleasant to use library which will make
integration of hbase with python a lot easier. Thanks a lot for this!


- Leon Mergen