google-cloud-memcache
Google Cloud Memcache API client library
Decision gist · record as of 2026-08-14
Yes. This is the official, actively maintained Google client library for Cloud Memorystore for Memcached management. It has low install friction, no security vulnerabilities, permissive licensing, and is in production-stable status. Install it if you need to manage Memcached instances on GCP from Python code. Do not install if you only need to read/write cache data—use a standard Memcached client library instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Google Cloud credentials (service account key or Application Default Credentials) and the Cloud Memorystore for Memcached API enabled on your GCP project.
- Low friction installation via pip with no compiled dependencies.
- The package is actively maintained with a recent release and supports current Python versions (3.10+).
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial 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) · 77,406,947 downloads/mo, #441 on PyPI
Alternatives
Verify before relying
pip install google-cloud-memcache
from google.cloud import memcache_v1
client = memcache_v1.CloudMemcacheClient()
project = 'your-project-id'
zone = 'us-central1-a'
instance_id = 'my-memcache'
request = memcache_v1.GetInstanceRequest(
name=f'projects/{project}/locations/{zone}/instances/{instance_id}'
)
instance = client.get_instance(request=request)- Whether the library supports all Memcached operations (create, update, delete, list) or only read/management operations.
- Performance characteristics and latency overhead of the client library for high-throughput workloads.
- Whether the package includes built-in retry logic and circuit-breaker patterns for resilience.
What it is and what it does
This is Google's official Python client library for the Cloud Memorystore for Memcached service on Google Cloud Platform. It wraps the underlying gRPC API and provides a Pythonic interface for provisioning, configuring, and managing Memcached instances in GCP. The library handles authentication via google-auth, serialization via protobuf and proto-plus, and communication via grpcio.
Developers use this library when they need to programmatically create Memcached clusters, modify instance configurations, or query instance metadata from within Python applications running on or interacting with GCP. It is not a Memcached client for reading/writing cache data—it is a management client for the GCP service itself. The library requires active GCP credentials and an enabled Memorystore API.
Use it for
- Provision and tear down Memcached instances as part of infrastructure-as-code or automated deployment pipelines.
- Query instance status, configuration, and node details from a Python monitoring or orchestration tool.
- Update Memcached instance parameters (node count, memory allocation) programmatically in response to scaling events.
- Integrate Memcache instance lifecycle management into a larger GCP automation workflow or multi-cloud deployment system.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is the official, actively maintained Google client library for Cloud Memorystore for Memcached management. It has low install friction, no security vulnerabilities, permissive licensing, and is in production-stable status. Install it if you need to manage Memcached instances on GCP from Python code. Do not install if you only need to read/write cache data—use a standard Memcached client library instead.
Install
google-cloud-memcache on PyPI
Before you install
Low friction installation via pip with no compiled dependencies. The package is actively maintained with a recent release and supports current Python versions (3.10+). Depends on standard Google Cloud client libraries (google-api-core, google-auth, grpcio, proto-plus, protobuf).
Requires Google Cloud credentials (service account key or Application Default Credentials) and the Cloud Memorystore for Memcached API enabled on your GCP project.
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-memcache
from google.cloud import memcache_v1
client = memcache_v1.CloudMemcacheClient()
project = 'your-project-id'
zone = 'us-central1-a'
instance_id = 'my-memcache'
request = memcache_v1.GetInstanceRequest(
name=f'projects/{project}/locations/{zone}/instances/{instance_id}'
)
instance = client.get_instance(request=request)
Verify before relying
- Whether the library supports all Memcached operations (create, update, delete, list) or only read/management operations.
- Performance characteristics and latency overhead of the client library for high-throughput workloads.
- Whether the package includes built-in retry logic and circuit-breaker patterns for resilience.
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 | 77,406,947 / month, #441 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_memcache-1.16.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 memcache client”
- google-cloud-memcacheA Python client library for creating and managing Memcached instances…
- google-cloud-ndbNDB is a Python 3 client library for Google Cloud Datastore that…
- appengine-python-standardProvides access to Google App Engine services (Datastore, Task…
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-redis · google-cloud-redis-cluster · google-cloud-ndb · aiomcache · appengine-python-standard · google-cloud-filestore · google-cloud-functions · python-binary-memcached · python-memcached · google-cloud-resource-manager