$npx skillfedfor your agent

twilio

Twilio API client and TwiML generator

Worth itPyPI Python ModulesReleased Aug 202620.4M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — twilio-9.11.0-py2.py3-none-any.whl
v9.11.0 · released 2026-08-11 · Python >=3.7.0 · 4 runtime deps: requests, PyJWT, aiohttp, aiohttp-retry

Yes. Twilio is a mature, actively maintained library with low install friction, no known vulnerabilities, a permissive MIT license, and broad Python version support. Install it if you need to integrate SMS, voice calls, or other Twilio services into a Python application. The only prerequisite is a valid Twilio account and credentials.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires valid Twilio account credentials (Account SID and Auth Token) from https://console.twilio.com; credentials can be passed directly or via TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN environment variables.
  • Low install friction with a pure-Python wheel distribution.
  • Actively maintained with a release 3 days old and recent commits; supports current Python versions (3.10–3.13) and maintains backward compatibility to 3.7.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) means you can use, modify, and distribute this library freely in commercial and private projects with minimal restrictions.

last release 2026-08-11 (3 days) · last repo commit 2026-08-11 · 2,074 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 20,413,006 downloads/mo, #1,039 on PyPI

Verify before relying

pip install twilio

from twilio.rest import Client

account_sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
auth_token = "your_auth_token"
client = Client(account_sid, auth_token)

message = client.messages.create(
    to="+15558675309",
    from_="+15017250604",
    body="Hello from Python!")
print(message.sid)
  • Whether aiohttp and aiohttp-retry are required for all use cases or only for async operations.
  • Performance characteristics and rate-limiting behavior when handling high-volume message or call creation.
  • Specific Twilio API version(s) supported by this release.
Same gist for agents: .md · .json

What it is and what it does

Twilio is a Python SDK that wraps the Twilio cloud communications API, allowing developers to programmatically send SMS messages, make phone calls, and manage voice and messaging services. It provides a synchronous REST client by default (using requests) and an optional asynchronous client (using aiohttp) for non-blocking operations. The library handles authentication via Account SID and Auth Token, supports region and edge routing for Twilio's global infrastructure, and includes automatic pagination for listing records.

The package is production-stable, actively maintained, and supports Python 3.7 through 3.13. It depends on requests for synchronous HTTP calls, PyJWT for token handling, and aiohttp/aiohttp-retry for async operations. Developers typically use it to integrate SMS notifications, voice calls, or two-factor authentication into web applications and backend services without managing the underlying telephony infrastructure.

Use it for

  • Send SMS notifications or alerts from a web application or backend service to users' mobile phones.
  • Implement two-factor authentication (2FA) by generating and sending one-time codes via SMS.
  • Programmatically initiate outbound phone calls with custom voice prompts or call routing logic.
  • Build a customer support system that logs and retrieves call and message history via the Twilio API.
  • Create async message queues in high-throughput applications using the AsyncTwilioHttpClient.
  • Route calls to different geographic regions using Twilio's edge and region parameters.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Twilio is a mature, actively maintained library with low install friction, no known vulnerabilities, a permissive MIT license, and broad Python version support. Install it if you need to integrate SMS, voice calls, or other Twilio services into a Python application. The only prerequisite is a valid Twilio account and credentials.

Install

twilio on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained with a release 3 days old and recent commits; supports current Python versions (3.10–3.13) and maintains backward compatibility to 3.7.

Requires valid Twilio account credentials (Account SID and Auth Token) from https://console.twilio.com; credentials can be passed directly or via TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN environment variables.

License in practice

MIT license (permissive) means you can use, modify, and distribute this library freely in commercial and private projects with minimal restrictions.

Quickstart

pip install twilio

from twilio.rest import Client

account_sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
auth_token = "your_auth_token"
client = Client(account_sid, auth_token)

message = client.messages.create(
    to="+15558675309",
    from_="+15017250604",
    body="Hello from Python!")
print(message.sid)

Verify before relying

  • Whether aiohttp and aiohttp-retry are required for all use cases or only for async operations.
  • Performance characteristics and rate-limiting behavior when handling high-volume message or call creation.
  • Specific Twilio API version(s) supported by this release.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.7.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
requestsPyJWTaiohttpaiohttp-retry
MaintenanceActively maintained 3 days since the last release
Last repo commit
First released
Downloads20,413,006 / month, #1,039 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Communications :: TelephonyTopic :: Software Development :: Libraries :: Python Modules

Evidence: twilio-9.11.0-py2.py3-none-any.whl

Tags

Capabilities
twilio sms api clientsend sms pythontwilio voice callstwilio messaging librarypython telephony apitwilio rest clientsms and voice automation
Topics
sms-apivoice-communicationsasync-http
PyPI keywords
twiliotwiml

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 › “twilio sms api client”

  • twilioPython client library for the Twilio API that enables sending SMS…
  • authyPython client for the Twilio Authy two-factor authentication API,…
  • sendgridSends emails and SMS messages via the Twilio SendGrid Web API v3,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also sendgrid · signalwire · twilio-stubs · plivo · azure-communication-sms · vonage-sms · vonage-messages · authy · telnyx · python-http-client