azure-communication-sms
Microsoft Azure Communication SMS Client Library for Python
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later and a deployed Azure Communication Services resource with a configured phone number.
- 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 · maintenance · safety
MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions, making it suitable for most projects without licensing concerns.
last release 2024-10-03 (680 days) · last repo commit 2026-08-14 · 5,588 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 402,357 downloads/mo, #6,920 on PyPI
Alternatives
Verify before relying
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_="<from-phone-number>", to="<to-phone-number>", message="Hello")- 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.
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 on this page. Verify before relying on it.
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
azure-communication-sms on PyPI
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.
Requires Python 3.8 or later and a deployed Azure Communication Services resource with a configured phone number.
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_="<from-phone-number>", to="<to-phone-number>", message="Hello")
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 the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesazure-coremsresttyping-extensions |
| Maintenance | Actively maintained 680 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 402,357 / month, #6,920 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_communication_sms-1.1.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 sms client”
- azure-communication-smsSends SMS messages through Azure Communication Services, supporting…
- azure-communication-identityCreates and manages user identities and access tokens for Azure…
- smsapi-clientA Python client library for sending SMS messages through the SMSAPI…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also azure-communication-phonenumbers · smpplib · smsapi-client · clx-sdk-xms · twilio · vonage-sms · africastalking · azure-communication-chat · azure-communication-identity · telesign