skillfed

google-cloud-access-context-manager

Google Cloud Access Context Manager Protobufs

google-cloud-access-context-manager v0.6.1 1.2M downloads/30d#4,282 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 Access Context Manager, a GCP service that enforces attribute-based access control on requests to Google Cloud resources. It wraps the underlying API in a Python-friendly interface, handling authentication, serialization, and RPC communication through its dependencies on google-api-core and protobuf.

The library is used to programmatically define, query, and manage access policies based on device attributes, user identity, and network context. It's part of Google's broader identity and access management ecosystem and is maintained as part of the google-cloud-python monorepo. The package is actively developed, supports current Python versions (3.10 through 3.14), and carries no known security vulnerabilities.

Use it for:

  • Define and enforce attribute-based access policies for GCP resources in a Python application.
  • Query existing access policies and their enforcement status programmatically.
  • Integrate access control logic into custom GCP management or compliance tools.
  • Automate policy updates based on device posture, user identity, or network conditions.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Python client library for Google Cloud Access Context Manager, enabling attribute-based access control policies for GCP services through a managed API.

Yes, if you need to manage GCP Access Context Manager policies from Python code. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. It requires Python 3.10+ and valid GCP credentials, but those are reasonable prerequisites for a GCP-specific client library.

Install

google-cloud-access-context-manager on PyPI

pip

pip install google-cloud-access-context-manager

uv

uv add google-cloud-access-context-manager

poetry

poetry add google-cloud-access-context-manager

Installing google-cloud-access-context-manager

Before you install

Low install friction with only two runtime dependencies (google-api-core and protobuf). Actively maintained with a recent release; repository is not archived and receives regular commits.

License in practice

Licensed under Apache 2.0 (permissive), allowing use in commercial and private projects with minimal restrictions.

Quickstart

pip install google-cloud-access-context-manager

from google.cloud import access_context_manager_v1

client = access_context_manager_v1.AccessContextManagerClient()

Requires Python >= 3.10; GCP project with Access Context Manager enabled and valid authentication credentials configured.

Verify before relying

  • Whether this library is suitable for read-only access policy queries versus policy creation and management.
  • Performance characteristics and rate limits when querying large numbers of access policies.
  • Whether additional setup beyond GCP authentication is needed for policy enforcement.

Package facts

License Apache 2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 2 — google-api-core, protobuf
Maintenance actively maintained — 8 days since the last release
Last repo commit
First released
Downloads 1,163,202/month — #4,282 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: google_cloud_access_context_manager-0.6.1-py3-none-any.whl

Development Status :: 4 - BetaIntended 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 access controlattribute based access control gcpaccess context manager pythongcp identity and access managementcloud access policies
gcp-clientaccess-controlidentity-management

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

Provides a Python client for Google Cloud…

permissive · top 1,000 on PyPI

google-cloud-dns

Python client library for Google Cloud DNS API…

permissive · top 15,000 on PyPI

google-cloud-org-policy

Python client library for Google Cloud…

permissive · top 5,000 on PyPI

google-cloud-service-usage

Provides a Python client for Google Cloud…

permissive · top 15,000 on PyPI

google-cloud-securitycenter

Python client library for Google Cloud Security…

permissive · top 15,000 on PyPI

google-cloud-storage-control

Python client library for Google Cloud Storage…

permissive · top 5,000 on PyPI

google-cloud-parametermanager

Python client library for Google Cloud…

permissive · top 5,000 on PyPI

google-cloud-certificate-manager

Python client library for Google Cloud…

permissive · top 15,000 on PyPI

google-cloud-dlp

Python client library for Google Cloud's…

permissive · top 1,000 on PyPI

google-cloud-monitoring

Python client library for Google Cloud…

permissive · top 1,000 on PyPI