Google Cloud initialisation

For initialization on Google Cloud, you need to have an account on Google Cloud Platform and create access identifiers.

Then, initialise EasyEnvironment as follows:

from easyenvi import EasyEnvironment

envi = EasyEnvironment(
  gcloud_project_id="your-project-id",
  gcloud_credential_path="path/to/credentials.json",
  GCS_path="gs://your-bucket-name/" # Optional
                  )
  • gcloud_project_id - str GCP project identifier

  • gcloud_credential_path - str path to a .json access credentials

  • GCS_path - str path to a GCS bucket from which to interact

Last updated