Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 628 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 628 Bytes

Python Node Socket Module

This is a complete and detailed module to easily communicate a Python script with a Node app, using socket.io.

App works as server and client, and on localhost or any IP.

Dependencies

Python app depends on python-socketio and python-socketio["client"]. Node app depends on express, socket.io and socket.io-client.

Instalation

On Python folder:

python -m virtualenv .
pip install python-socketio python-socketio["client"]

On Node folder:

npm install -i express socket.io socket.io-client

Documentation

Each function and method is explained as comments before code.