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.4.tar.gz (9.5 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.4-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wa_socket-0.1.4.tar.gz
  • Upload date:
  • Size: 9.5 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.4.tar.gz
Algorithm Hash digest
SHA256 97e837adb27c2c225ff45f4e75294dbe9654d657a75f52e27f122e577c8f4d90
MD5 053f784582fbc4fa1408590c0f467f7a
BLAKE2b-256 ab581bcfa98260dea1040bc91c62afb29f4e4821739a41a76721831cbf701e71

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wa_socket-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 10.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9206723acb0f7236fb80b38baa55baaa5266a3aac27975e2c5d529f7e97d2263
MD5 1525e510dd10759653e6f68c720cea32
BLAKE2b-256 0a6415bba59455332e9a617a533af5458684329d988bde8a1c866115e2ad270f

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