Metadata-Version: 2.4
Name: wa-socket
Version: 0.1.5
Summary: Baileys-style WhatsApp Web socket for Python
Author-email: Ritik Sharma <ritiksharma19173@gmail.com>
License: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# wa-socket

`wa-socket` is a Python library that provides a WhatsApp Web socket interface using a
Node.js backend powered by the Baileys library.

The goal is to let Python developers interact with WhatsApp Web **without writing Node.js code**.

---

## Features

- WhatsApp Web connection via QR code
- Session persistence (scan once, reconnect automatically)
- Python-first API
- Node.js backend managed automatically
- Suitable for scripts, services, and FastAPI apps

---

## Requirements

- **Python 3.9+**
- **Node.js 18 LTS (REQUIRED)**

⚠️ **Node.js 20 / 22 are NOT supported**  
This is due to upstream dependency constraints in Baileys.

Download Node.js 18 LTS from:
https://nodejs.org/en/download

Verify installation:
```bash
node -v
npm -v
