google-cloud-datastream
Google Cloud Datastream API client library
What it is and what it does
This is Google's official Python client for Cloud Datastream, a managed change data capture (CDC) and replication service. It wraps the Datastream REST API, allowing you to programmatically create, configure, and manage data replication pipelines that synchronize changes from source databases to destinations with minimal latency. The library handles authentication, request marshaling, and response parsing through dependencies on google-api-core, google-auth, and gRPC stubs.
You use it when you need to automate Datastream operations—creating streams, listing active replications, monitoring job status, or integrating CDC into larger data orchestration workflows. It's a thin, generated wrapper around the service API rather than a standalone CDC engine, so you're always working against Google Cloud infrastructure. The library requires Python 3.10 or later and assumes you have a Google Cloud project with Datastream enabled and valid authentication credentials.
Use it for:
- Automate creation and management of CDC pipelines between on-premises databases and cloud data warehouses.
- Build monitoring dashboards that query Datastream job status and replication metrics programmatically.
- Integrate data synchronization into infrastructure-as-code or GitOps workflows for reproducible deployments.
- Orchestrate multi-stage data pipelines where Datastream feeds into downstream processing or analytics.
- Manage multiple replication streams across different source systems from a single control plane.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client library for Google Cloud Datastream, enabling programmatic access to serverless change data capture and replication services for synchronizing data across systems.
Yes. This is the official, actively maintained client for a Google Cloud service. Install it if you need to automate or integrate Datastream operations into Python applications. The low install friction, permissive license, current Python support, and zero known vulnerabilities make it a straightforward choice for projects already committed to Google Cloud infrastructure.
Install
google-cloud-datastream on PyPI
pip
pip install google-cloud-datastreamuv
uv add google-cloud-datastreampoetry
poetry add google-cloud-datastreamInstalling google-cloud-datastream
Before you install
Low install friction with a pure Python wheel distribution. The package is actively maintained with a recent release (72 days old) and supports current Python versions (3.10 through 3.14). Six runtime dependencies are all from the Google Cloud ecosystem, indicating stable, well-integrated components.
License in practice
Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install google-cloud-datastream
from google.cloud import datastream_v1
client = datastream_v1.DatastreamClient()
project = "your-project-id"
parent = client.common_project_path(project)
streams = client.list_streams(parent=parent)
Requires Python >= 3.10. Google Cloud authentication must be configured (service account key, Application Default Credentials, or equivalent).
Verify before relying
- Specific API endpoints and methods available beyond basic stream listing and management.
- Performance characteristics and throughput limits for typical CDC workloads.
- Integration patterns with specific source and destination databases.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — google-api-core, google-auth, grpcio, proto-plus, protobuf, grpc-google-iam-v1 |
| Maintenance | actively maintained — 72 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 87,449/month — #13,799 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: google_cloud_datastream-1.19.0-py3-none-any.whl
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
google-cloud-functionsPython client library for Google Cloud…
permissive · top 5,000 on PyPI
google-cloud-dataflow-clientProvides a Python client library to manage…
permissive · top 1,000 on PyPI
google-cloud-resource-managerProvides a Python client for Google Cloud…
permissive · top 1,000 on PyPI
google-cloud-filestorePython client library for creating and managing…
permissive · top 15,000 on PyPI
google-cloud-monitoringPython client library for Google Cloud…
permissive · top 1,000 on PyPI
google-cloud-runPython client library for the Google Cloud Run…
permissive · top 1,000 on PyPI
google-cloud-buildPython client library for Google Cloud Build…
permissive · top 1,000 on PyPI
google-cloud-bigquery-storageProvides a Python client library for reading…
permissive · top 1,000 on PyPI
google-cloud-billingProgrammatic access to Google Cloud Platform…
permissive · top 15,000 on PyPI
google-cloud-bigtablePython client library for reading and writing…
permissive · top 1,000 on PyPI