Demonstration project showcasing real-time communication between a WebSocket server built with Node.js and a client implemented in Python.
-
WebSocket Server in Node.js
Implements an efficient and simple server usingws, enabling real-time connections. -
WebSocket Client in Python
Lightweight client that interacts with the server usingwebsocketsorwebsocket-client. -
Bidirectional Communication
Send and receive real-time messages between both environments. -
Simple and Well-Documented Code
Designed for easy understanding, modification, and extension.
git clone https://github.com/itsronalds/websocket-integration-node-python.git
cd websocket-integration-node-pythoncd server
npm install
node server.jscd ../client
pip install -r ../requirements.txt
python client.py- Node.js + ws
- Python + websocket-client