--- id: azure-communication-sms version: "1.1.0" license: MIT License license_treatment: permissive maintenance: active --- # azure-communication-sms — Microsoft Azure Communication SMS Client Library for Python License: permissive · Maintenance: active · Downloads: 402.4K/mo ## What it is and what it does This package is a Python client library for Azure Communication Services SMS functionality. It wraps the Azure REST API to let you send SMS messages from your application, either to individual recipients or in bulk to multiple phone numbers. The library handles authentication via connection strings or Azure Active Directory, manages the HTTP communication with Azure's backend, and returns structured responses indicating success or failure for each message. You initialize a client with your Azure credentials, then call the send method with source and destination phone numbers, message text, and optional parameters like delivery reporting and custom tags. The library depends on azure-core for common Azure SDK patterns, msrest for HTTP handling, and typing-extensions for type hints. It's designed for applications that need to integrate SMS notifications, alerts, or two-factor authentication into their workflow. Use it for: - Send SMS-based two-factor authentication codes during user login or account verification. - Deliver bulk notification messages to multiple customers about order status, appointments, or service alerts. - Trigger transactional SMS alerts for system events, outages, or critical monitoring thresholds. - Send SMS reminders for appointments, reservations, or scheduled events to end users. - Enable SMS-based customer support workflows where users can receive responses via text message. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Sends SMS messages through Azure Communication Services, supporting both single and bulk recipient messaging with optional delivery reporting and custom tagging. Yes, if you are already using Azure Communication Services and need SMS capability in Python. The package is actively maintained, has no known vulnerabilities, supports current Python versions, and integrates cleanly into the Azure SDK ecosystem. Install only if you have an Azure subscription and a provisioned Communication Services resource; it is not useful as a standalone SMS library. ## Install pip install azure-communication-sms uv add azure-communication-sms poetry add azure-communication-sms ## Installing azure-communication-sms Before you install: Low install friction with a pure-Python wheel distribution. Maintained actively as part of the Azure SDK ecosystem with recent commits and stable production status. License in practice: MIT License permits commercial and private use with minimal restrictions, making it suitable for most projects without licensing concerns. Quickstart: pip install azure-communication-sms from azure.communication.sms import SmsClient connection_str = "endpoint=ENDPOINT;accessKey=KEY" sms_client = SmsClient.from_connection_string(connection_str) sms_responses = sms_client.send(from_="", to="", message="Hello") Requires Python 3.8 or later and a deployed Azure Communication Services resource with a configured phone number. Verify before relying: - Whether delivery reporting incurs additional Azure charges beyond base SMS costs. - Rate limits or throttling behavior for bulk SMS operations. - Retry and timeout behavior for failed send attempts. ## Package facts - License: MIT License (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 402.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags azure sms client, send sms messages python, azure communication services, bulk sms sender, sms delivery reporting, azure phone messaging, sms api python, azure-sdk, sms-messaging, cloud-communications [View on SkillFed](https://skillfed.io/packages/azure-communication-sms) · [View on PyPI](https://pypi.org/project/azure-communication-sms/)