Skip to content

Latest commit

 

History

History

README.md

Python Code Samples for Cloud Bigtable

This directory contains code samples for Cloud Bigtable, which may be used as a reference for using this product.

Prerequisites

  1. If this is your first time working with GCP products, you will need to set up the Cloud SDK or utilize Google Cloud Shell. This sample may require authentication and you will need to enable billing.

  2. Set your environment variables:

    export GOOGLE_CLOUD_PROJECT="your-project-id"
    export BIGTABLE_INSTANCE="your-instance-id"

Running Samples and Tests

  1. Install dependencies for the sample module you want to run:

    pip install -r requirements.txt
  2. Run sample scripts directly:

    python main.py $GOOGLE_CLOUD_PROJECT $BIGTABLE_INSTANCE
  3. To run sample tests using Nox:

    nox -s py-3.14

Additional Information

You can read the documentation for more details on API usage and use GitHub to browse the source and report issues.

Contributing

View the contributing guidelines and the Python style guide for more information.