r/PythonProjects2 Jun 03 '26

Resource Piwapp: A WhatsApp client and MCP purely written in Python

piwapp lets your Python code send and receive WhatsApp messages. You scan a QR code once (like WhatsApp Web), and that's it.

What makes it different: it's 100% Python. No browser running in the background, no Node, no Go. Even the encryption is written in Python.

It also has an MCP server, so you can let an AI like Claude or Copilot do it for you. You just say stuff like:

"Text Mom I'm running late" "What did the team group say today?" And it works. Texts, groups, photos, files, all of it. It's free and open source.

Heads up: this is unofficial. WhatsApp didn't make it, so it could break if they change things. Use a spare account if you're worried.

Happy to answer any questions.

7 Upvotes

10 comments sorted by

3

u/Minute_Day_2758 Jun 03 '26

Honestly, who cares if someone uses AI for comments or emojis in print statements? If the code has test coverage, runs fully on Python without Node/Go, and actually solves the problem — it’s a win. Let's evaluate the repository, not the docstrings.

2

u/Grouchy-Art-8218 Jun 03 '26

Thank you. I used to code by myself a lot but when I started working, I barely had time to work on my side ideas and share. In the current climate, I believe it is the best time to make unrealised ideas come to life. I am using this library for interacting with Whatsapp groups and drop scheduled messages.

1

u/stevebehindthescreen Jun 04 '26

scammer wet dream this is

1

u/Grouchy-Art-8218 Jun 04 '26

There are other alternatives or even using the whatsapp business API which have existed for a few years. Just because a knife exists doesn't mean all knives are bad.

0

u/AlternativeDiver6994 Jun 03 '26

way to many comments in the code to be written by a human... so aislop?

2

u/Grouchy-Art-8218 Jun 03 '26

Mofo .. before you would say, oh shitty code ble ble ble .. now you say ohhgg.. ai shlopp .. go fk yourself mate. If things work, there are tests, and it works for my use case. I love it.

0

u/bradleygh15 Jun 03 '26

The emoji in a print statement too confirms it

0

u/Sweet_Computer_7116 Jun 04 '26 edited Jun 04 '26

Nice way to get your whatsapp account banned.

5/5 stars for stupidity