skillfed

google-cloud-datastream

Google Cloud Datastream API client library

google-cloud-datastream v1.19.0 87.4K downloads/30d#13,799 on PyPI5,373
Permissive license Apache-2.0 Active released

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-datastream

uv

uv add google-cloud-datastream

poetry

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 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet

Tags

google cloud datastream clientchange data capture pythoncdc replication servicegoogle cloud data syncdatastream api pythoncloud data replicationserverless cdc tool
google-cloudchange-data-capturedata-replication

More Internet packages

botocore

Botocore provides low-level, data-driven access…

permissive · top 100 on PyPI

aiobotocore

Provides an async client for AWS services using…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

filelock

Provides a platform-independent file locking…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

googleapis-common-protos

Provides common Protocol Buffer message…

permissive · top 100 on PyPI

google-cloud-functions

Python client library for Google Cloud…

permissive · top 5,000 on PyPI

google-cloud-dataflow-client

Provides a Python client library to manage…

permissive · top 1,000 on PyPI

google-cloud-resource-manager

Provides a Python client for Google Cloud…

permissive · top 1,000 on PyPI

google-cloud-filestore

Python client library for creating and managing…

permissive · top 15,000 on PyPI

google-cloud-monitoring

Python client library for Google Cloud…

permissive · top 1,000 on PyPI

google-cloud-run

Python client library for the Google Cloud Run…

permissive · top 1,000 on PyPI

google-cloud-build

Python client library for Google Cloud Build…

permissive · top 1,000 on PyPI

google-cloud-bigquery-storage

Provides a Python client library for reading…

permissive · top 1,000 on PyPI

google-cloud-billing

Programmatic access to Google Cloud Platform…

permissive · top 15,000 on PyPI

google-cloud-bigtable

Python client library for reading and writing…

permissive · top 1,000 on PyPI