$npx skillfedfor your agent

pywa

🚀 Build WhatsApp Bots in Python • Fast, Effortless, Powerful

Worth itPyPI Python ModulesReleased Aug 2026209.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pywa-4.4.0-py3-none-any.whl
v4.4.0 · released 2026-08-11 · Python >=3.10 · 1 runtime deps: httpx

Yes. PyWa is actively maintained, has no known vulnerabilities, low install friction, and is licensed permissively under MIT. It's suitable for production use (Development Status 5) and covers a complete feature set for WhatsApp bot development. Install it if you need to build WhatsApp bots or integrate WhatsApp messaging into a Python application.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; WhatsApp Cloud API credentials (phone_id, token, app_id, app_secret) and a publicly accessible callback URL for webhook reception.
  • Low install friction with a single runtime dependency (httpx).
  • Actively maintained with a recent release; last commit 2026-08-12 and 578 repository stars indicate steady development.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal obligations.

last release 2026-08-11 (3 days) · last repo commit 2026-08-12 · 578 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 209,716 downloads/mo, #9,510 on PyPI

Verify before relying

pip install pywa

from pywa import WhatsApp, filters, types

wa = WhatsApp(
    phone_id="1234567890",
    token="EAA...",
    app_id=1234567890,
    app_secret="secret",
    callback_url="https://your-domain.com",
    verify_token="token",
)

@wa.on_message(filters.text)
def echo(_: WhatsApp, msg: types.Message):
    msg.reply(f"You said: {msg.text}")

# Run with: pywa dev
  • Whether the async variant (pywa_async) is included in the base package or requires separate installation.
  • Whether CLI tools (pywa dev, pywa run, pywa new) are available in the base installation or require optional extras.
  • Performance characteristics and rate-limit handling for high-volume message scenarios.
Same gist for agents: .md · .json

What it is and what it does

PyWa is a comprehensive, fully-typed Python framework for the WhatsApp Cloud API that abstracts away the complexity of direct API calls. It provides decorators and type-safe handlers for receiving and responding to messages, managing templates, building interactive flows, and handling call events. The framework supports both synchronous and asynchronous code paths, integrates with FastAPI and Flask, and includes a built-in webhook server for local development and production deployment.

The package is designed to let developers focus on bot logic rather than API plumbing. It handles message routing through composable filters, supports rich message types (text, images, documents, buttons, lists), provides inline conversation listeners for natural multi-turn flows, and includes CLI scaffolding tools. With full type hints and static analysis support, it catches errors early and enables IDE autocomplete throughout.

Use it for

  • Build a customer support chatbot that receives messages, routes them by intent, and sends templated responses or escalates to human agents.
  • Create an order-taking bot that collects customer details through interactive flows, manages order templates, and sends status updates.
  • Implement OTP verification or two-factor authentication flows that wait for user input and validate responses inline.
  • Develop a notification service that sends templated messages to users based on business events (order shipped, appointment reminder).
  • Build a WhatsApp Flows experience for newsletter signup, surveys, or multi-step onboarding entirely in Python without manual JSON.
  • Integrate WhatsApp messaging into an existing FastAPI or Flask application to handle incoming webhooks and send outbound messages.

Worth the install?

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

Worth it

Yes.

PyWa is actively maintained, has no known vulnerabilities, low install friction, and is licensed permissively under MIT. It's suitable for production use (Development Status 5) and covers a complete feature set for WhatsApp bot development. Install it if you need to build WhatsApp bots or integrate WhatsApp messaging into a Python application.

Install

pywa on PyPI

Before you install

Low install friction with a single runtime dependency (httpx). Actively maintained with a recent release; last commit 2026-08-12 and 578 repository stars indicate steady development.

Requires Python 3.10 or later; WhatsApp Cloud API credentials (phone_id, token, app_id, app_secret) and a publicly accessible callback URL for webhook reception.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal obligations.

Quickstart

pip install pywa

from pywa import WhatsApp, filters, types

wa = WhatsApp(
    phone_id="1234567890",
    token="EAA...",
    app_id=1234567890,
    app_secret="secret",
    callback_url="https://your-domain.com",
    verify_token="token",
)

@wa.on_message(filters.text)
def echo(_: WhatsApp, msg: types.Message):
    msg.reply(f"You said: {msg.text}")

# Run with: pywa dev

Verify before relying

  • Whether the async variant (pywa_async) is included in the base package or requires separate installation.
  • Whether CLI tools (pywa dev, pywa run, pywa new) are available in the base installation or require optional extras.
  • Performance characteristics and rate-limit handling for high-volume message scenarios.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
httpx
MaintenanceActively maintained 3 days since the last release
Last repo commit
First released
Downloads209,716 / month, #9,510 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: AsyncIOIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Communications :: ChatTopic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Internet :: WWW/HTTP :: HTTP ServersTopic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: Libraries :: Python Modules

Evidence: pywa-4.4.0-py3-none-any.whl

Tags

Capabilities
whatsapp bot framework pythonwhatsapp cloud api clientwhatsapp messaging automationwhatsapp webhook handlerbuild whatsapp chatbotswhatsapp flows and templateswhatsapp business api python
Topics
whatsapp-apichatbot-frameworkasync-support
PyPI keywords
whatsappwhatsapp-cloud-apimeta-whatsapp-apiwhatsapp-webhookwhatsapp-templateswhatsapp-flowswhatsapp-callingwhatsapp-botpywaasyncioasyncchatbot-frameworkwebhook-handlerautomation

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 › “whatsapp bot framework python”

  • pywaPyWa is a fully-typed Python framework for building WhatsApp bots…
  • neonizeNeonize is a Python library for automating WhatsApp messaging and…
  • vonage-messagesProvides Python message models and client integration for Vonage's…

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 line-bot-sdk · neonize · python-telegram-bot · plivo · africastalking · twitchAPI · pyTelegramBotAPI · hikari · rasa-sdk · slackweb