Skipole WSGI generator.
SKIPOLE is an application which creates a web service that you can tailor with your own Python functions. It can be used to create a web service for any application but was particularly designed with the Raspberry Pi in mind. It gives you the capability to create a web front end for your wierdest applications, be they robots, sensors or whatever you are using your Pi for.
Note: Raspberry Pi is a trademark of the Raspberry Pi Foundation, skipole is not associated with the Foundation.
More specifically; skipole.py is a script with associated files, which creates a project resulting in a tar file containing a WSGI application. This WSGI application can then be served by any WSGI compatible web server.
Typically the script is run on a development machine, and creates a local web server. The project is then developed using the web service together with your normal python text editor. The web server displays an admin interface which allows you to create web pages containing widgets. These call your python functions to receive data and populate the widget parameters.
Once the project is developed, it generates a tar file containing the project which can be installed on your target machine, which could be a Raspberry Pi.
Follow the 'Getting Started' link on the left menu to see how a sample project could be built.
Skipole requires python 3.2 or later.
The Downloads link takes you to the bitbucket site where the latest version can be downloaded, this is a tar file, uncompress it in a directory of your choice.
The project has no dependencies other than python 3.2 or above. It has been developed on Linux. It has been found to work on Windows, but the command terminal should be run in Admin mode as symbolic links to folders are created, so escalated privelidges are needed.
Further information can be found from the Documentation link, which takes you to the bitbucket wiki pages. The admin web interface also contains its own documentation.
A new project can be created with the command:python3 skipole.py
This creates and serves a new project using the python standard library wsgiref.simple_server.
To serve an already existing project, run:python3 skipole.py myprojectname
Connecting to localhost:8000 will allow you to view the web site.
To serve and administer the project, run:python3 skipole.py -s myprojectname
Which adds web based admin functions at localhost:8000/skiadmin
The admin pages allow the project to be edited, and produces a tar file containing the site and your code, with a wsgi application script. It is intended that in a finished project the application could be served via any wsgi server.
pi01 : General Raspberry Pi control web server.
pi02 : Raspberry Pi control web server, with password access.
skitest : Testing skipole widgets etc.,
skiclub : A club membership scheme, with member and admin login.
svgplot : Illustrates graph generation, requires gnuplot.