{"id":352,"library":"google-cloud-core","title":"Google Cloud Core Library","description":"Provides common helpers (e.g., base Client classes) used by all of the google-cloud-* packages. Current version: 2.5.0, released on October 29, 2025. Release cadence: approximately every 3-6 months.","status":"active","version":"2.5.0","language":"python","source_language":"en","source_url":"https://github.com/googleapis/python-cloud-core","tags":["google-cloud","core","client-library","python"],"install":[{"cmd":"pip install google-cloud-core","lang":"bash","label":"Install google-cloud-core"}],"dependencies":[{"reason":"Authentication library for Google Cloud services.","package":"google-auth"},{"reason":"Core library for Google API client.","package":"google-api-core"}],"imports":[{"note":"Ensure correct import path to avoid ImportError.","symbol":"Client","correct":"from google.cloud import Client"}],"quickstart":{"code":"from google.cloud import Client\n\nclient = Client()\n# Use the client for Google Cloud operations","lang":"python","description":"Basic usage of the Client class from google.cloud."},"warnings":[{"fix":"Upgrade to Python 3.6 or later.","message":"Dropped support for Python 2.7 in version 2.0.0.","severity":"breaking","affected_versions":"2.0.0"},{"fix":"Switch to using individual Google Cloud client libraries.","message":"The 'google-cloud-sdk' package is deprecated; use product-specific packages instead.","severity":"deprecated","affected_versions":"All"}],"env_vars":null,"last_verified":"2026-05-12T13:14:26.744Z","next_check":"2026-06-26T00:00:00.000Z","problems":[{"fix":"pip install google-cloud-core","cause":"The 'google-cloud-core' library, which provides base client functionalities for other Google Cloud client libraries, is not installed or incorrectly installed in the Python environment.","error":"ModuleNotFoundError: No module named 'google.cloud.client'"},{"fix":"Export your service account key file: 'export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/keyfile.json' or authenticate via the gcloud CLI: 'gcloud auth application-default login'","cause":"The application cannot find valid Google Cloud credentials in the expected locations, such as the 'GOOGLE_APPLICATION_CREDENTIALS' environment variable, application default credentials set by the gcloud CLI, or service account attached to a Google Cloud VM.","error":"google.auth.exceptions.DefaultCredentialsError: Could not automatically determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or explicitly create credentials and pass them to the client."},{"fix":"Set the project ID using 'export GOOGLE_CLOUD_PROJECT=your-project-id', ensure your credentials contain a 'project_id', or explicitly pass the 'project' argument to your client constructor: 'client = YourServiceClient(project='your-project-id')'","cause":"The Google Cloud project ID required for operations could not be automatically determined from credentials or environment variables (e.g., GOOGLE_CLOUD_PROJECT), or an empty string was provided where a project ID was expected.","error":"ValueError: Project ID could not be determined."}],"ecosystem":"pypi","meta_description":null,"install_score":0,"install_tag":"stale","quickstart_score":0,"quickstart_tag":"stale","pypi_latest":null,"install_checks":{"last_tested":"2026-05-12","tag":"stale","tag_description":"widespread failures or data too old to trust","results":[{"runtime":"python:3.10-alpine","python_version":"3.10","os_libc":"alpine (musl)","variant":"default","exit_code":1,"wheel_type":null,"failure_reason":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.10-slim","python_version":"3.10","os_libc":"slim (glibc)","variant":"default","exit_code":1,"wheel_type":null,"failure_reason":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.11-alpine","python_version":"3.11","os_libc":"alpine (musl)","variant":"default","exit_code":1,"wheel_type":null,"failure_reason":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.11-slim","python_version":"3.11","os_libc":"slim (glibc)","variant":"default","exit_code":1,"wheel_type":null,"failure_reason":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.12-alpine","python_version":"3.12","os_libc":"alpine (musl)","variant":"default","exit_code":1,"wheel_type":null,"failure_reason":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.12-slim","python_version":"3.12","os_libc":"slim (glibc)","variant":"default","exit_code":1,"wheel_type":null,"failure_reason":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.13-alpine","python_version":"3.13","os_libc":"alpine (musl)","variant":"default","exit_code":1,"wheel_type":null,"failure_reason":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.13-slim","python_version":"3.13","os_libc":"slim (glibc)","variant":"default","exit_code":1,"wheel_type":null,"failure_reason":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.9-alpine","python_version":"3.9","os_libc":"alpine (musl)","variant":"default","exit_code":1,"wheel_type":null,"failure_reason":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.9-slim","python_version":"3.9","os_libc":"slim (glibc)","variant":"default","exit_code":1,"wheel_type":null,"failure_reason":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null}]},"quickstart_checks":{"last_tested":"2026-04-23","tag":"stale","tag_description":"widespread failures or data too old to trust","results":[{"runtime":"python:3.10-alpine","exit_code":1},{"runtime":"python:3.10-slim","exit_code":1},{"runtime":"python:3.11-alpine","exit_code":1},{"runtime":"python:3.11-slim","exit_code":1},{"runtime":"python:3.12-alpine","exit_code":1},{"runtime":"python:3.12-slim","exit_code":1},{"runtime":"python:3.13-alpine","exit_code":1},{"runtime":"python:3.13-slim","exit_code":1},{"runtime":"python:3.9-alpine","exit_code":1},{"runtime":"python:3.9-slim","exit_code":1}]}}