Python Docs Samples

Code samples used on cloud.google.com
Alternatives To Python Docs Samples
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Rclone40,5163510 hours ago263July 17, 2023912mitGo
"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Yandex Files
Analytics16,167
2 days ago34agpl-3.0Elixir
Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
Awesome Kubernetes14,249
13 days ago7otherShell
A curated list for awesome kubernetes sources :ship::tada:
Xg2xg13,355
a day ago48
by ex-googlers, for ex-googlers - a lookup table of similar tech & services
Functions Samples11,834
13 hours ago153apache-2.0JavaScript
Collection of sample apps showcasing popular use cases using Cloud Functions for Firebase
Infracost9,595
2 days ago144July 21, 2023142apache-2.0Go
Cloud cost estimates for Terraform in pull requests💰📉 Love your cloud bill!
Training Data Analyst7,018
6 days ago394apache-2.0Jupyter Notebook
Labs and demos for courses for GCP Training (http://cloud.google.com/training).
Python Docs Samples6,567
3 hours ago2May 24, 2021143apache-2.0Jupyter Notebook
Code samples used on cloud.google.com
Google Cloud Python4,345123a day ago38August 03, 2023130apache-2.0Python
Google Cloud Client Library for Python
Apps Script Samples4,054
5 days ago47apache-2.0JavaScript
Apps Script samples for Google Workspace products.
Alternatives To Python Docs Samples
Select To Compare


Alternative Project Comparisons
Readme

Google Cloud Platform Python Samples

Python samples for Google Cloud Platform products.

Build Status Build Status Build Status Build Status Build Status

Google Cloud Samples

Check out some of the samples found on this repository on the Google Cloud Samples page.

Setup

  1. Install pip and virtualenv if you do not already have them.

  2. Clone this repository:

    git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git
    
  3. Obtain authentication credentials.

    Create local credentials by running the following command and following the oauth2 flow (read more about the command here):

    gcloud auth application-default login
    

    Read more about Google Cloud Platform Authentication.

How to run a sample

  1. Change directory to one of the sample folders, e.g. logging/cloud-client:

    cd logging/cloud-client/
    
  2. Create a virtualenv. Samples are compatible with Python 3.6+.

    python3 -m venv env
    source env/bin/activate
    
  3. Install the dependencies needed to run the samples.

    pip install -r requirements.txt
    
  4. Run the sample:

    python snippets.py
    

Contributing

Contributions welcome! See the Contributing Guide.

Popular Google Projects
Popular Cloud Computing Projects
Popular Companies Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Jupyter Notebook
Google
Cloud Computing