summaryrefslogtreecommitdiff
path: root/happybase/__init__.py
blob: feb2fec45783494030330b40a1d8cc9e958ab64d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""
HappyBase, a developer-friendly Python library to interact with Apache
HBase.
"""

import pkg_resources as _pkg_resources
import thriftpy2 as _thriftpy
_thriftpy.load(
    _pkg_resources.resource_filename('happybase', 'Hbase.thrift'),
    'Hbase_thrift')

from ._version import __version__  # noqa

from .connection import DEFAULT_HOST, DEFAULT_PORT, Connection  # noqa
from .table import Table  # noqa
from .batch import Batch  # noqa
from .pool import ConnectionPool, NoConnectionsAvailable  # noqa