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,
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 install google-cloud
To use the Python HappyBase-compatible API client for Cloud Bigtable, install
google-cloud-happybase library using the
pip install google-cloud-happybase
For more information, consult the API reference documentation: