Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Google Cloud Platform Python Samples

Python samples for Google Cloud Platform products.

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.

关于 About

Code samples used on cloud.google.com
pythonsamples

语言 Languages

Jupyter Notebook83.4%
Python15.5%
JavaScript0.7%
HTML0.1%
Shell0.1%
Dockerfile0.1%
PureBasic0.0%
CSS0.0%
Makefile0.0%
Jinja0.0%
Procfile0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
250
Total Commits
峰值: 22次/周
Less
More

核心贡献者 Contributors