google-cloud-dlp
Google Cloud Dlp API client library
Decision gist · record as of 2026-08-14
Yes. This is a production-stable, actively maintained official Google client library with no known vulnerabilities, low install friction, and a permissive license. Install it if you need to integrate Google Cloud DLP into a Python application and have a GCP project with DLP enabled and proper authentication set up.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Google Cloud project setup with DLP API enabled and proper authentication credentials configured (service account or application default credentials).
- Low friction installation with a pure Python wheel.
- Active maintenance as of 2026-06-22 with recent activity.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-06-22 (53 days) · last repo commit 2026-08-14 · 5,371 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 132,578,900 downloads/mo, #288 on PyPI
Alternatives
Verify before relying
pip install google-cloud-dlp
from google.cloud import dlp_v2
client = dlp_v2.DlpServiceClient()
# Use client methods to scan, classify, or redact sensitive data- Specific DLP API methods and capabilities available in version 3.38.0
- Performance characteristics for large-scale data scanning operations
- Supported data types and detection patterns beyond the general 'sensitive data' claim
What it is and what it does
This is the official Python client for Google Cloud's Sensitive Data Protection service. It wraps the DLP API to let you programmatically discover, classify, and protect sensitive information in your data. The library handles authentication, request marshalling, and response parsing through standard Google Cloud client patterns, with dependencies on google-api-core for common client logic, google-auth for credential management, and gRPC/protobuf for transport and serialization.
You use it to build applications that scan documents, databases, or data stores for personally identifiable information (PII), payment card data, and other sensitive patterns. The client abstracts away the complexity of calling Google's managed DLP service, letting you focus on defining what data to scan and what actions to take when sensitive content is found.
Use it for
- Scan documents or text for PII before storing or sharing them in non-production environments
- Classify data assets across your organization to build a sensitive data inventory
- Redact or mask sensitive fields in logs or reports before they leave your system
- Automate compliance workflows that require detection and handling of regulated data types
- Integrate data protection checks into data pipelines or ETL processes
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is a production-stable, actively maintained official Google client library with no known vulnerabilities, low install friction, and a permissive license. Install it if you need to integrate Google Cloud DLP into a Python application and have a GCP project with DLP enabled and proper authentication set up.
Install
google-cloud-dlp on PyPI
Before you install
Low friction installation with a pure Python wheel. Active maintenance as of 2026-06-22 with recent activity. Requires Python >= 3.10 and depends on standard Google Cloud client infrastructure (google-api-core, google-auth, grpcio, proto-plus, protobuf).
Requires Google Cloud project setup with DLP API enabled and proper authentication credentials configured (service account or application default credentials).
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install google-cloud-dlp
from google.cloud import dlp_v2
client = dlp_v2.DlpServiceClient()
# Use client methods to scan, classify, or redact sensitive data
Verify before relying
- Specific DLP API methods and capabilities available in version 3.38.0
- Performance characteristics for large-scale data scanning operations
- Supported data types and detection patterns beyond the general 'sensitive data' claim
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesgoogle-api-coregoogle-authgrpcioproto-plusprotobuf |
| Maintenance | Actively maintained 53 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 132,578,900 / month, #288 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | 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 |
Evidence: google_cloud_dlp-3.38.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “google cloud dlp client”
- google-cloud-dlpPython client library for Google Cloud's Sensitive Data Protection…
- slack-discovery-sdkProvides Python bindings to Slack's Discovery APIs for accessing…
- google-cloud-coreProvides shared base classes and utilities for Google Cloud Python…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also google-cloud-monitoring · google-cloud-recaptcha-enterprise · google-cloud-discoveryengine · google-cloud-secret-manager · google-cloud-modelarmor · google-cloud-bigquery-datapolicies · google-cloud-parametermanager · google-cloud-functions · google-cloud-access-context-manager · google-cloud-webrisk