Python Client for Google Cloud Bigtable

image image image

Google Cloud Bigtable is Google’s NoSQL Big Data database service. It’s the same database that powers many core Google services, including Search, Analytics, Maps, and Gmail.

Quick Start

In order to use this library, you first need to go through the following steps:

  1. Select or create a Cloud Platform project.

  2. Enable billing for your project.

  3. Enable the Cloud Bigtable API.

  4. Setup Authentication.

Installation

Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.

With virtualenv, it’s possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.

Supported Python Versions

Python >= 3.7

Deprecated Python Versions

  • Python 2.7: the last released version which supported Python 2.7 was version 1.7.0, released 2021-02-09.

  • Python 3.5: the last released version which supported Python 3.5 was version 1.7.0, released 2021-02-09.

  • Python 3.6: the last released version which supported Python 3.6 was version v2.10.1, released 2022-06-03.

Mac/Linux

pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-cloud-bigtable

Windows

pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-cloud-bigtable

Next Steps

google-cloud-happybase

In addition to the core google-cloud-bigtable, we provide a google-cloud-happybase library with the same interface as the popular HappyBase library. Unlike HappyBase, google-cloud-happybase uses google-cloud-bigtable under the covers, rather than Apache HBase.