# GoogleCloudPlatform/python-docs-samples

Code samples used on cloud.google.com

Repository: https://github.com/GoogleCloudPlatform/python-docs-samples
Canonical: https://ross.abutalabs.com/products/python-docs-samples
Language: Jupyter Notebook
License: Apache-2.0
License Family: permissive
Topics: python, samples
Last push: 2026-08-26T15:27:46+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 4139, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8126, forks 6734 (observed 2026-08-28T04:10:13.788373+00:00)

## What it is
The official repository of Python code samples for Google Cloud Platform products, referenced from cloud.google.com documentation. It contains runnable example snippets covering GCP services like logging, storage, and authentication.

## Use cases
- learn how to use Google Cloud services from Python
- find example code for calling a GCP API
- copy a starting point for a GCP integration
- see how to authenticate to Google Cloud from Python
- explore GCP client library usage examples

## When to choose
- you are developing against Google Cloud APIs in Python and want official, maintained examples
- you need a quick reference snippet for a specific GCP service
- you are following Google Cloud documentation and need the accompanying code

## When to avoid
- you need a production-ready library or framework rather than example code
- you work with AWS, Azure, or non-GCP infrastructure
- you need a complete application rather than small illustrative samples

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, sdk, documentation
- domain: cloud-computing, developer-tools, tutorials
- platform: python, cloud, cross-platform
- tags: google-cloud, code-samples, gcp, example-code, jupyter-notebook

## Member repositories
- GoogleCloudPlatform/python-docs-samples (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:13.788373+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:30:24.070877+00:00, confidence not recorded.
  - readme: https://github.com/GoogleCloudPlatform/python-docs-samples (fetched 2026-08-28T04:10:13.788373+00:00, sha 5e832e32402d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
