Python idiomatic client for Google Cloud Platform services.
Note
These libraries currently do not run on Google App Engine Standard. We are actively working on adding this support.
The following client libraries have GA support:
- Google Cloud Datastore (Datastore README)
- Google Cloud Natural Language (Natural Language README)
- Google Cloud Spanner (Spanner README)
- Google Cloud Storage (Storage README)
- Google Cloud Translation (Translation README)
- Stackdriver Logging (Logging README)
GA (general availability) indicates that the client library for a particular service is stable, and that the code surface will not change in backwards-incompatible ways unless either absolutely necessary (e.g. because of critical security issues) or with an extensive deprecation period. Issues and requests against GA libraries are addressed with the highest priority.
Note
Sub-components of GA libraries explicitly marked as beta in the
import path (e.g. google.cloud.language_v1beta2
) should be considered
to be beta.
The following client libraries have beta support:
- Google BigQuery (BigQuery README)
- Google Cloud Firestore (Firestore README)
- Google Cloud Pub/Sub (Pub/Sub README)
- Google Cloud Speech (Speech README)
- Google Cloud Video Intelligence (Video Intelligence README)
- Google Cloud Vision (Vision README)
Beta indicates that the client library for a particular service is mostly stable and is being prepared for release. Issues and requests against beta libraries are addressed with a higher priority.
This client library has alpha support for the following Google Cloud Platform services:
- Google BigQuery Data Transfer (BigQuery Data Transfer README)
- Google Cloud Bigtable (Bigtable README)
- Google Cloud Bigtable - HappyBase (HappyBase README)
- Google Cloud Container (Container README)
- Google Cloud DNS (DNS README)
- Google Cloud Resource Manager (Resource Manager README)
- Google Cloud Runtime Configuration (Runtime Config README)
- Stackdriver Error Reporting (Error Reporting README)
- Stackdriver Monitoring (Monitoring README)
Alpha indicates that the client library for a particular service is still a work-in-progress and is more likely to get backwards-incompatible updates. See versioning for more details.
If you need support for other Google APIs, check out the Google APIs Python Client library.
$ pip install --upgrade google-cloud
For more information on setting up your Python development environment,
such as installing pip
and virtualenv
on your system, please refer
to Python Development Environment Setup Guide for Google Cloud Platform.
- getting-started-python - A sample and tutorial that demonstrates how to build a complete web application using Cloud Datastore, Cloud Storage, and Cloud Pub/Sub and deploy it to Google App Engine or Google Compute Engine.
- google-cloud-python-expenses-demo - A sample expenses demo using Cloud Datastore and Cloud Storage
With google-cloud-python
we try to make authentication as painless as possible.
Check out the Authentication section in our documentation to learn more.
You may also find the authentication document shared by all the
google-cloud-*
libraries to be helpful.
Contributions to this library are always welcome and highly encouraged.
See the CONTRIBUTING doc for more information on how to get started.
Google Cloud Platform Python developers hang out in Slack in the #python
channel, click here to get an invitation.
Apache 2.0 - See the LICENSE for more information.