
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
python-whatsapp-wrapper
Advanced tools
.. image:: https://readthedocs.org/projects/python-whatsapp-wrapper/badge/?version=latest :target: https://python-whatsapp-wrapper.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
.. image:: https://github.com/Sergio-Daniel-Pires/python-whatsapp-wrapper/actions/workflows/test.yml/badge.svg :target: https://github.com/Sergio-Daniel-Pires/python-whatsapp-wrapper :alt: Github Actions - Tests
.. image:: https://img.shields.io/pypi/dm/python-whatsapp-wrapper :target: https://github.com/Sergio-Daniel-Pires/python-whatsapp-wrapper :alt: PyPI - Downloads
.. image:: https://img.shields.io/pypi/v/python-whatsapp-wrapper :target: https://pypi.org/project/python-telegram-bot/ :alt: PyPI - Version
A high-level Python wrapper for the WhatsApp API, providing easy abstraction.
A huge thanks to Python-Telegram-Bot
_ team for their impressive work on Telegram bots, which inspired me to create this wrapper.
Tested in version v19.0
, but you can try older versions by changing api_version
in whatsapp.bot.WhatsappBot.api_version
.
Before you can create your own bots, you need to follow some steps to become a Meta API Developer
_.
YOU NEED to become a Meta developer to use their API. You can find the step-by-step guide here: Facebook Developers WhatsApp API
_
.. warning:: It's preferable to have an extra/new SIM card to register your business account (don't try with your personal SIM, this action will ERASE all your whatsapp data), but they give you some free credits to get started.
We're on PyPI! So you can easy install using:
.. code-block:: bash
pip install python-whatsapp-wrapper
Or directly by cloning project's GitHub repository:
.. code-block:: bash
git clone https://github.com/Sergio-Daniel-Pires/python-whatsapp-wrapper
cd python-whatsapp-wrapper
pip install .
Our repository contains many examples that you can just click-and-run.
You might want to try echo_bot.py
, a bot that returns any text you send it.
MIT
.. _Meta API Developer: https://developers.facebook.com/products/whatsapp/ .. _Python-Telegram-Bot: https://github.com/python-telegram-bot/python-telegram-bot .. _Facebook Developers WhatsApp API: https://developers.facebook.com/docs/whatsapp/getting-started
FAQs
Pure python project for META Whatsapp Business API wrapper.
We found that python-whatsapp-wrapper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.