gcloud-aio-pubsub
Python Client for Google Cloud Pub/Sub
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive MIT license. It is production-stable and well-positioned for applications that need asyncio or threadsafe Pub/Sub access on Google Cloud. Install it if you are building on GCP and prefer async patterns or need an alternative to the official client library.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; Google Cloud credentials must be configured in the environment.
- Low install friction with a pure-Python wheel distribution.
- Active maintenance with a recent commit on 2026-08-14 and stable production status.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.
last release 2025-07-17 (393 days) · last repo commit 2026-08-14 · 348 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 727,308 downloads/mo, #5,217 on PyPI
Alternatives
Verify before relying
pip install gcloud-aio-pubsub
from gcloud.aio.pubsub import Publisher
import asyncio
async def publish():
async with Publisher() as publisher:
await publisher.publish(topic='projects/my-project/topics/my-topic', message=b'hello')- Whether the package supports both gcloud-aio-pubsub (async) and gcloud-rest-pubsub (sync) variants from a single installation.
- Performance characteristics and throughput limits compared to the official google-cloud-pubsub library.
- Whether prometheus-client integration is automatic or requires explicit configuration.
What it is and what it does
gcloud-aio-pubsub is a Python client for Google Cloud Pub/Sub that provides both asyncio and threadsafe interfaces for interacting with Google's managed messaging service. It wraps the Pub/Sub API to enable applications to publish messages to topics and subscribe to them, supporting modern async/await patterns as well as traditional synchronous code. The package depends on gcloud-aio-auth for credential handling and prometheus-client for metrics collection.
The library is designed as a shared codebase supporting both async (gcloud-aio-pubsub) and synchronous (gcloud-rest-pubsub) usage patterns. It targets developers building cloud-native applications on Google Cloud Platform who need flexible concurrency models—either async for high-throughput I/O-bound workloads or threadsafe patterns for traditional multi-threaded applications. The package has been in active development since 2017 and maintains production-stable status across Python 3.9 through 3.13.
Use it for
- Publish events from an async web service to Pub/Sub topics for downstream processing.
- Subscribe to Pub/Sub messages in a background worker with asyncio concurrency.
- Integrate Pub/Sub messaging into a multi-threaded application using the synchronous variant.
- Monitor Pub/Sub client metrics via prometheus-client for observability.
- Build event-driven microservices on Google Cloud with async/await patterns.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive MIT license. It is production-stable and well-positioned for applications that need asyncio or threadsafe Pub/Sub access on Google Cloud. Install it if you are building on GCP and prefer async patterns or need an alternative to the official client library.
Install
gcloud-aio-pubsub on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with a recent commit on 2026-08-14 and stable production status. Depends on gcloud-aio-auth and prometheus-client, both common utilities.
Requires Python 3.9 or later; Google Cloud credentials must be configured in the environment.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.
Quickstart
pip install gcloud-aio-pubsub
from gcloud.aio.pubsub import Publisher
import asyncio
async def publish():
async with Publisher() as publisher:
await publisher.publish(topic='projects/my-project/topics/my-topic', message=b'hello')
Verify before relying
- Whether the package supports both gcloud-aio-pubsub (async) and gcloud-rest-pubsub (sync) variants from a single installation.
- Performance characteristics and throughput limits compared to the official google-cloud-pubsub library.
- Whether prometheus-client integration is automatic or requires explicit configuration.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesgcloud-aio-authprometheus-client |
| Maintenance | Actively maintained 393 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 727,308 / month, #5,217 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 :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Internet |
Evidence: gcloud_aio_pubsub-6.3.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 pubsub python client”
- gcloud-aio-pubsubAsyncio and threadsafe Python client for Google Cloud Pub/Sub,…
- google-cloud-pubsubPython client library for Google Cloud Pub/Sub, enabling asynchronous…
- google-cloud-pubsublitePython client library for Google Cloud Pub/Sub Lite, providing…
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 gcloud-aio-datastore · nats-py · telegraph · solace-pubsubplus · gcloud-aio-taskqueue · gcloud-aio-storage · google-cloud-pubsub · pubcontrol · gcloud-aio-auth · broadcaster