Skip to main content

Baileys-style WhatsApp Web socket for Python

Project description

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:

node -v
npm -v

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wa_socket-0.1.5.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wa_socket-0.1.5-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file wa_socket-0.1.5.tar.gz.

File metadata

  • Download URL: wa_socket-0.1.5.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for wa_socket-0.1.5.tar.gz
Algorithm Hash digest
SHA256 f6d1441f5fa1fe14d0583b6df78281ee689e0cffef85921e382fd57df4b9b200
MD5 ea7352959f74288b80c519dd375bb90d
BLAKE2b-256 ac26d9626b04173fd760b3717240d95a691249d0597b9848ac4d8e30dd4dbbb2

See more details on using hashes here.

File details

Details for the file wa_socket-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: wa_socket-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for wa_socket-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bc6b24406391d240c71c5dd7acffffdeaa28e6b840fd3c9764dd171d8310ab99
MD5 aaa279eb501c4153ddffc8a0b37228fa
BLAKE2b-256 a55957b864b9c7627b0a1715949a5c9680c48d4698792057891a2f0d0bb5a29f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page