--- id: google-cloud-datastream version: "1.19.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # google-cloud-datastream — Google Cloud Datastream API client library License: permissive · Maintenance: active · Downloads: 87.4K/mo ## 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 above — 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 pip install google-cloud-datastream uv add google-cloud-datastream poetry add google-cloud-datastream ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 87.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags google cloud datastream client, change data capture python, cdc replication service, google cloud data sync, datastream api python, cloud data replication, serverless cdc tool, google-cloud, change-data-capture, data-replication [View on SkillFed](https://skillfed.io/packages/google-cloud-datastream) · [View on PyPI](https://pypi.org/project/google-cloud-datastream/)