$npx skillfedfor your agent

gcloud-aio-pubsub

Python Client for Google Cloud Pub/Sub

Worth itPyPI InternetReleased Jul 2025727.3K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — gcloud_aio_pubsub-6.3.0-py3-none-any.whl
v6.3.0 · released 2025-07-17 · Python <4.0,>=3.9 · 2 runtime deps: gcloud-aio-auth, prometheus-client

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

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.
Same gist for agents: .md · .json

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.

Worth 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

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
gcloud-aio-authprometheus-client
MaintenanceActively maintained 393 days since the last release
Last repo commit
First released
Downloads727,308 / month, #5,217 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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

Capabilities
google cloud pubsub python clientasyncio pubsub messaginggcp pub/sub asynccloud messaging pythonthreadsafe pubsub clientgoogle cloud async publisherpubsub subscriber python
Topics
google-cloudasync-messagingpubsub

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”

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

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.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

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.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also gcloud-aio-datastore · nats-py · telegraph · solace-pubsubplus · gcloud-aio-taskqueue · gcloud-aio-storage · google-cloud-pubsub · pubcontrol · gcloud-aio-auth · broadcaster