Skip to content
This repository was archived by the owner on Nov 13, 2023. It is now read-only.

Latest commit

 

History

History
50 lines (31 loc) · 752 Bytes

File metadata and controls

50 lines (31 loc) · 752 Bytes

IoT Examples for Python Twisted

This project contains an example for running a true IoT server with Python and Twisted for async I/O.

Requirements

Raspberry Pi

  • python-dev
  • libffi-dev
  • libssl-dev

To install the requirements via Aptitude in Raspbian, run the following command at a terminal:

sudo apt-get install -y python-dev libffi-dev libssl-dev

Installation

Use Easy Install to setup the server:

python setup.py develop

Run the Server

Depending on the platform, run the appropriate file:

Raspberry Pi

python pi-server.py

Intel Edison

python edison-server.py