Python Client Library Overview

The Python client for Cloud Bigtable provides two APIs for Cloud Bigtable:

  • A native API that provides an idiomatic interface for using Cloud Bigtable.
  • A HappyBase-compatible API. (HappyBase is a Python client library for HBase, an open-source product that is similar to Cloud Bigtable.) Use the HappyBase-compatible API if you need to move an existing HBase workload to Cloud Bigtable.

The Python client uses gRPC to communicate with the production servers. The Python client supports Python 2.7 and Python 3.

Before using the Python client library for Cloud Bigtable, refer to the Python Development Environment Setup Guide to install the latest version of Python 2 and 3, pip, virtualenv, and other useful packages and tools.

To use the Python native API client for Cloud Bigtable, install the google-cloud library using the pip tool:

pip install google-cloud

To use the Python HappyBase-compatible API client for Cloud Bigtable, install the google-cloud-happybase library using the pip tool:

pip install google-cloud-happybase

For more information, consult the API reference documentation:

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Cloud Bigtable Documentation