--- id: google-cloud-pubsublite version: "1.13.0" license: Apache 2.0 license_treatment: permissive maintenance: active --- # google-cloud-pubsublite — Google Cloud Pubsublite API client library License: permissive · Maintenance: active · Downloads: 3.2M/mo ## 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 above — 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 pip install google-cloud-pubsublite uv add google-cloud-pubsublite 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_current - Install friction: low - Maintenance: active - Downloads: 3.2M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags google cloud pubsub lite client, asynchronous messaging python, pub sub lite api, google cloud messaging library, partitioned message queue, cloud pubsub lite python, many-to-many messaging, topic-based message broker, google-cloud, messaging-queue, async-io [View on SkillFed](https://skillfed.io/packages/google-cloud-pubsublite) · [View on PyPI](https://pypi.org/project/google-cloud-pubsublite/)