azure-messaging-webpubsubservice
Microsoft Azure WebPubSub Service Client Library for Python
Decision gist · record as of 2026-08-14
Yes. The package is production-stable (Development Status 5), actively maintained, has low install friction, carries no known vulnerabilities, and is backed by Microsoft's Azure SDK ecosystem. Install it if you are building a Python server that needs to manage real-time WebSocket communication with Azure Web PubSub; it is the official, supported way to do so.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires an active Azure Web PubSub service instance and a valid connection string or endpoint with credentials.
- Low install friction with a pure-wheel distribution.
- Actively maintained with recent releases; last commit 2026-08-14 and latest release 2025-07-08.
License · maintenance · safety
MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions—you may use, modify, and distribute this package freely provided you include the license notice.
last release 2025-07-08 (402 days) · last repo commit 2026-08-14 · 5,588 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 461,634 downloads/mo, #6,530 on PyPI
Alternatives
Verify before relying
from azure.messaging.webpubsubservice import WebPubSubServiceClient
service = WebPubSubServiceClient.from_connection_string(
connection_string='<connection_string>', hub='hub'
)
service.send_to_all(message={'from': 'user1', 'data': 'Hello world'})- Whether the package supports Python 3.6 as documented in the disclaimer, given classifiers list only 3.8–3.12.
- Performance characteristics and throughput limits for high-volume message scenarios.
- Whether connection state recovery and reconnection logic are built-in or require application-level handling.
What it is and what it does
This package is a Python client library for Azure Web PubSub Service, a managed Azure service that handles real-time, bidirectional communication between servers and clients over WebSocket. It abstracts the complexity of managing WebSocket connections, allowing you to focus on application logic rather than connection lifecycle and message routing.
You use it server-side to send messages to all connected clients (broadcast), to specific groups, to individual users, or to particular connections. It also handles connection management tasks like organizing connections into groups, assigning users to connections, and revoking permissions. The library depends on azure-core for HTTP transport and authentication, isodate for timestamp handling, pyjwt for token operations, and typing-extensions for type hints.
Use it for
- Build real-time chat applications where messages must be delivered instantly to multiple connected clients.
- Send live notifications or alerts from a server to specific user groups or all connected clients.
- Implement collaborative features (shared whiteboards, live editing) requiring bidirectional, low-latency messaging.
- Manage dynamic user presence and connection state across multiple devices or browser tabs.
- Replace polling-based updates with push-based messaging for dashboards and monitoring applications.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is production-stable (Development Status 5), actively maintained, has low install friction, carries no known vulnerabilities, and is backed by Microsoft's Azure SDK ecosystem. Install it if you are building a Python server that needs to manage real-time WebSocket communication with Azure Web PubSub; it is the official, supported way to do so.
Install
azure-messaging-webpubsubservice on PyPI
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with recent releases; last commit 2026-08-14 and latest release 2025-07-08. Depends on stable Azure SDK components (azure-core, isodate, pyjwt, typing-extensions).
Requires an active Azure Web PubSub service instance and a valid connection string or endpoint with credentials.
License in practice
MIT License permits commercial and private use with minimal restrictions—you may use, modify, and distribute this package freely provided you include the license notice.
Quickstart
from azure.messaging.webpubsubservice import WebPubSubServiceClient
service = WebPubSubServiceClient.from_connection_string(
connection_string='<connection_string>', hub='hub'
)
service.send_to_all(message={'from': 'user1', 'data': 'Hello world'})
Verify before relying
- Whether the package supports Python 3.6 as documented in the disclaimer, given classifiers list only 3.8–3.12.
- Performance characteristics and throughput limits for high-volume message scenarios.
- Whether connection state recovery and reconnection logic are built-in or require application-level handling.
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesisodateazure-coretyping-extensionspyjwt |
| Maintenance | Actively maintained 402 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 461,634 / month, #6,530 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/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: azure_messaging_webpubsubservice-1.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 › “azure web pubsub service client”
- azure-messaging-webpubsubserviceManages WebSocket connections and real-time messaging for Azure Web…
- gcloud-aio-pubsubAsyncio and threadsafe Python client for Google Cloud Pub/Sub,…
- azure-mgmt-webProvides programmatic management of Azure Web Apps, App Service…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also azure-eventhub · broadcaster · azure-mgmt-iothubprovisioningservices · lcm · azure-servicebus · Pypubsub · openfire-restapi · azure-eventgrid · azure-storage-queue · azure-mgmt-notificationhubs