Skip to content
main
Switch branches/tags
Code

Latest commit

* chore(deps): update dependency pyarrow to v7

* chore(deps): pin pyarrow to lower version

* chore(deps): pin pyarrow to lower version

* chore(deps): pin pyarrow version for 3.6 and below

* chore(deps): pin pyarrow version for 3.6 and below

* chore(deps): pin pyarrow for 3.6 and below

* chore(deps): move pyarrow above google-cloud-bigquery

* chore(deps): pin pyarrow to 6 for dependency conflict

Co-authored-by: Dan Lee <71398022+dandhlee@users.noreply.github.com>
a1325ca

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Apr 23, 2021

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.