google-cloud-os-config
Google Cloud Os Config API client library
What it is and what it does
This is the official Python client library for Google Cloud OS Config, a managed service for patch management, patch compliance, and configuration management across Google Cloud VM instances. It wraps the OS Config API, allowing developers to programmatically deploy patches, check compliance status, and manage OS configurations on compute instances without manual intervention.
The library depends on google-api-core, google-auth, grpcio, proto-plus, and protobuf to handle authentication, RPC communication, and protocol buffer serialization. It is actively maintained, supports Python 3.10 through 3.14, and carries no known security vulnerabilities. Installation is straightforward via pip with low friction.
Use it for:
- Automate patch deployment and compliance reporting across a fleet of Google Cloud VMs in production environments.
- Build custom patch management workflows that integrate OS Config with your infrastructure-as-code or CI/CD pipeline.
- Query and monitor patch compliance status for security audits and regulatory reporting.
- Programmatically configure OS settings and packages on VM instances at scale during provisioning or updates.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client library for Google Cloud OS Config, enabling programmatic management of patch deployment, compliance checking, and configuration on Google Cloud VM instances.
Yes. This is the official, actively maintained client library for Google Cloud OS Config with no security vulnerabilities, low install friction, and permissive licensing. Install it if you need to automate patch management or OS configuration on Google Cloud VMs; skip it if you manage instances exclusively through the console or Terraform.
Install
google-cloud-os-config on PyPI
pip
pip install google-cloud-os-configuv
uv add google-cloud-os-configpoetry
poetry add google-cloud-os-configInstalling google-cloud-os-config
Before you install
Low install friction; pure Python wheel with standard Google Cloud dependencies. Actively maintained with recent releases; last commit 2026-08-14. Supports current Python versions (3.10+).
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-os-config
from google.cloud import osconfig_v1
client = osconfig_v1.OsConfigServiceClient()
# Use client methods to manage OS configurations
Requires Python >= 3.10 and valid Google Cloud authentication (service account or application default credentials).
Verify before relying
- Specific API methods and coverage for patch management workflows beyond the general client library scope.
- Performance characteristics and rate limits for large-scale VM fleet operations.
- Integration patterns with other Google Cloud services (Compute Engine, Cloud Logging) in real deployments.
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 — google-api-core, google-auth, grpcio, proto-plus, protobuf |
| Maintenance | actively maintained — 53 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,254,936/month — #4,156 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: google_cloud_os_config-1.25.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-os-loginPython client library for Google Cloud OS…
permissive · top 1,000 on PyPI
google-cloud-computePython client library for Google Compute Engine…
permissive · top 1,000 on PyPI
google-compute-engineProvides Python bindings and utilities for…
permissive · top 15,000 on PyPI
cudo-computeA Python client library for the Cudo Compute…
permissive · top 15,000 on PyPI
google-cloud-monitoringPython client library for Google Cloud…
permissive · top 1,000 on PyPI
google-cloud-functionsPython client library for Google Cloud…
permissive · top 5,000 on PyPI
google-cloud-buildPython client library for Google Cloud Build…
permissive · top 1,000 on PyPI
google-cloud-resource-managerProvides a Python client for Google Cloud…
permissive · top 1,000 on PyPI
google-cloud-api-keysManages API keys for Google Cloud projects,…
permissive · top 15,000 on PyPI
python-consulPython client library for Consul, a service…
permissive · top 5,000 on PyPI