All Projects → GoogleCloudPlatform → Python Docs Samples

GoogleCloudPlatform / Python Docs Samples

Licence: apache-2.0
Code samples used on cloud.google.com

Programming Languages

python
139335 projects - #7 most used programming language
Jupyter Notebook
11667 projects
shell
77523 projects
HTML
75241 projects
Dockerfile
14818 projects
javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Python Docs Samples

Arcgis Runtime Samples Dotnet
Sample code for ArcGIS Runtime SDK for .NET – UWP, WPF, Xamarin.Android, Xamarin.iOS, and Xamarin.Forms
Stars: ✭ 274 (-94.86%)
Mutual labels:  samples
Xnagamestudio
The Education library from the Xbox Live Indie games repository, valuable for MonoGame Developers for advanced samples
Stars: ✭ 332 (-93.78%)
Mutual labels:  samples
Androidwithkotlin
🚀 These are android sample projects which are written in Kotlin. It covers video streaming, mp3 player, sqlite, location services, custom camera, o-notifications, simple compass etc.
Stars: ✭ 447 (-91.62%)
Mutual labels:  samples
Plugin Samples
Adobe XD Plugin API samples
Stars: ✭ 277 (-94.81%)
Mutual labels:  samples
Flixel Demos
Collection of demos for HaxeFlixel
Stars: ✭ 312 (-94.15%)
Mutual labels:  samples
Tv Samples
Multiple samples showing best practices in app development on Android TV.
Stars: ✭ 377 (-92.93%)
Mutual labels:  samples
Arcgis Runtime Samples Ios
Swift samples demonstrating various capabilities of ArcGIS Runtime SDK for iOS
Stars: ✭ 275 (-94.84%)
Mutual labels:  samples
Swagger Samples
Samples for the various Swagger projects under swagger-api
Stars: ✭ 499 (-90.64%)
Mutual labels:  samples
Prism Samples Forms
Samples that demonstrate how to use various Prism features with Xamarin.Forms
Stars: ✭ 327 (-93.87%)
Mutual labels:  samples
Romplayer
AudioKit Sample Player (ROM Player) - EXS24, Sound Font, Wave Player
Stars: ✭ 445 (-91.66%)
Mutual labels:  samples
Opencv Androidsamples
OpenCv samples for Android from OpenCV SDK using Android Studio and Gradle System
Stars: ✭ 278 (-94.79%)
Mutual labels:  samples
Hangouts Chat Samples
Chat Bot Samples for Google Chat.
Stars: ✭ 284 (-94.68%)
Mutual labels:  samples
Azure Devops Dotnet Samples
.NET/C# samples for integrating with Azure DevOps Services and Azure DevOps Server
Stars: ✭ 384 (-92.8%)
Mutual labels:  samples
Examples
Many examples of Raku code
Stars: ✭ 276 (-94.83%)
Mutual labels:  samples
Vsphere Automation Sdk Python
Python samples, language bindings, and API reference documentation for vSphere, VMC, and NSX-T using the VMware REST API
Stars: ✭ 451 (-91.54%)
Mutual labels:  samples
Apps Script Samples
Apps Script samples for Google Workspace products.
Stars: ✭ 3,301 (-38.11%)
Mutual labels:  samples
Js Samples
Samples for the Google Maps JavaScript v3 API
Stars: ✭ 362 (-93.21%)
Mutual labels:  samples
Infrastructure As Code Talk
Sample code for the talk "Infrastructure-as-code: running microservices on AWS with Docker, ECS, and Terraform"
Stars: ✭ 520 (-90.25%)
Mutual labels:  samples
Getting Started Java
Stars: ✭ 457 (-91.43%)
Mutual labels:  samples
Chromium Dashboard
Chrome Status Dashboard
Stars: ✭ 407 (-92.37%)
Mutual labels:  samples

Google Cloud Platform Python Samples

Python samples for Google Cloud Platform products.

Build Status Build Status Build Status Build Status

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].