--- id: azure-communication-chat version: "1.3.0" license: MIT License license_treatment: permissive maintenance: active --- # azure-communication-chat — Microsoft Azure Communication Chat Client Library for Python License: permissive · Maintenance: active · Downloads: 134.1K/mo ## What it is and what it does This is the official Python client library for Azure Communication Services Chat, a managed cloud service for building real-time chat applications. It provides abstractions for creating chat threads, sending and receiving messages, managing thread participants, and handling typing notifications and read receipts. The library handles authentication via Azure tokens and manages HTTP communication with Azure's backend services. You use it by instantiating a ChatClient with an Azure endpoint and credentials, then creating or accessing chat threads through ChatThreadClient instances. The library supports one-to-one and group conversations, with features like message history sharing, participant management, and typing indicators. It depends on azure-core for common Azure SDK patterns and isodate for timestamp handling. Use it for: - Build a web or mobile application with integrated real-time chat between users - Create a customer support chat interface backed by Azure infrastructure - Implement group messaging in a collaborative application with participant management - Add typing indicators and read receipts to a messaging feature - Manage chat thread lifecycle for a multi-tenant SaaS platform ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Python SDK for Azure Communication Services Chat, enabling creation and management of chat threads, message operations, and participant management through a cloud-hosted chat service. Yes. This is a production-stable, actively maintained official SDK from Microsoft with no known vulnerabilities, low install friction, and permissive licensing. Install it if you are building on Azure Communication Services and need Python chat functionality; it is the standard choice for that use case. ## Install pip install azure-communication-chat uv add azure-communication-chat poetry add azure-communication-chat ## Installing azure-communication-chat Before you install: Low install friction with a pure-Python wheel. Actively maintained with recent commits and production-stable status. License in practice: MIT License permits free use, modification, and distribution with minimal restrictions, suitable for both open-source and commercial projects. Quickstart: pip install azure-communication-chat from azure.communication.chat import ChatClient, CommunicationTokenCredential endpoint = "https://.communicationservices.azure.com" chat_client = ChatClient(endpoint, CommunicationTokenCredential(token)) create_chat_thread_result = chat_client.create_chat_thread(topic) chat_thread_client = chat_client.get_chat_thread_client(create_chat_thread_result.chat_thread.id) Requires Python 3.8 or later and a deployed Azure Communication Services resource with a valid access token. Verify before relying: - Performance characteristics and rate limits for concurrent chat operations - Real-time notification delivery guarantees and latency expectations - Whether typing notifications and read receipts are delivered in near real-time as described ## Package facts - License: MIT License (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 134.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags azure chat sdk python, cloud messaging service client, chat thread management, azure communication services, real-time chat api, group messaging platform, chat participant management, azure-sdk, real-time-messaging, cloud-service-client [View on SkillFed](https://skillfed.io/packages/azure-communication-chat) · [View on PyPI](https://pypi.org/project/azure-communication-chat/)