skillfed

google-cloud-pubsublite

Google Cloud Pubsublite API client library

google-cloud-pubsublite v1.13.0 3.2M downloads/30d#2,706 on PyPI20
Permissive license Apache 2.0 Active released

What it is and what it does

google-cloud-pubsublite is the official Python client for Google Cloud Pub/Sub Lite, a managed messaging service that decouples message producers from consumers. It provides publisher and subscriber APIs to send and receive messages through topics, enabling reliable asynchronous communication between distributed applications.

Pub/Sub Lite differs from standard Google Cloud Pub/Sub by offering partitioned zonal data storage with predefined capacity, making it suitable for workloads with predictable throughput patterns. The library wraps the underlying gRPC API and depends on google-cloud-pubsub, grpcio, and google-api-core to handle authentication, transport, and protocol details. It supports Python 3.8 and later versions.

Use it for:

  • Building event-driven architectures where applications publish events to topics and multiple subscribers consume them independently.
  • Implementing reliable message queuing for microservices that need decoupled, asynchronous communication.
  • Streaming data pipelines where producers and consumers operate at different rates and need buffering.
  • Real-time data ingestion systems that require partitioned storage with known capacity planning.
  • Integrating with Google Cloud Dataflow or other GCP services for event processing workflows.

Worth the install?

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

Python client library for Google Cloud Pub/Sub Lite, providing asynchronous messaging between applications with partitioned zonal data storage and predefined capacity.

Yes. This is the official, actively maintained client for Pub/Sub Lite with low install friction, permissive licensing, no known vulnerabilities, and broad Python version support. Install it if you are building on Google Cloud Pub/Sub Lite; if you need standard Pub/Sub instead, use google-cloud-pubsub. Verify that Pub/Sub Lite's partitioned zonal model and usage caveats fit your workload before committing.

Install

google-cloud-pubsublite on PyPI

pip

pip install google-cloud-pubsublite

uv

uv add google-cloud-pubsublite

poetry

poetry add google-cloud-pubsublite

Installing google-cloud-pubsublite

Before you install

Low friction installation via pip; actively maintained with recent releases. Depends on standard Google Cloud libraries (google-cloud-pubsub, grpcio, google-api-core) and proto-plus, all widely used and stable.

License in practice

Licensed under Apache 2.0 (permissive), allowing free use, modification, and distribution in both open-source and commercial projects with minimal restrictions.

Quickstart

pip install google-cloud-pubsublite

from google.cloud.pubsublite.admin_client import AdminClient
from google.cloud.pubsublite.publisher_client import PublisherClient

admin = AdminClient()
publisher = PublisherClient()

Requires Google Cloud project with Pub/Sub Lite API enabled and authentication configured (service account key or Application Default Credentials).

Verify before relying

  • Whether the package supports async/await patterns or only callback-based publishing and subscribing.
  • Performance characteristics and throughput limits compared to standard Google Cloud Pub/Sub.
  • Whether automatic message batching and flow control are configurable.

Package facts

License Apache 2.0 (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 6 — google-cloud-pubsub, grpcio, grpcio-status, overrides, google-api-core, proto-plus
Maintenance actively maintained — 241 days since the last release
Last repo commit
First released
Downloads 3,195,555/month — #2,706 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: google_cloud_pubsublite-1.13.0-py3-none-any.whl

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.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet

Tags

google cloud pubsub lite clientasynchronous messaging pythonpub sub lite apigoogle cloud messaging librarypartitioned message queuecloud pubsub lite pythonmany-to-many messagingtopic-based message broker
google-cloudmessaging-queueasync-io

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

ably

Ably is a Python client library for connecting…

permissive · top 5,000 on PyPI

google-cloud-pubsub

Python client library for Google Cloud Pub/Sub,…

permissive · top 1,000 on PyPI

solace-pubsubplus

Solace Messaging API for Python provides client…

permissive · top 15,000 on PyPI

gcloud

Provides Python client libraries for Google…

permissive · top 15,000 on PyPI

broadcaster

Broadcaster provides a simple async broadcast…

permissive · top 15,000 on PyPI

google-cloud-bigtable

Python client library for reading and writing…

permissive · top 1,000 on PyPI

pubcontrol

Publishes messages to multiple endpoints via…

permissive · top 15,000 on PyPI

google-cloud-recommender

Python client library for Google Cloud…

permissive · top 15,000 on PyPI

google-cloud-bigquery-logging

Python client library for Google Cloud BigQuery…

permissive · top 15,000 on PyPI

google-cloud-tasks

Python client library for Google Cloud Tasks,…

permissive · top 1,000 on PyPI