ServeLight
This module defines classes for implementing HTTP/WSGI servers (Web servers).
Warning : This is not recommended for production. It only implements basic security checks.
One class, Server or WSGI Server creates and listens at the HTTP socket, dispatching the requests to a handler. Code to create and run the server looks like this:\
fast ( It's very fast )
simple ( around 150 lines )
lightweight (simple and lightweight )
WSGI ( supports web server gateway interface )
micro web-server ( can use as a traditional server )
with web frameworks (any WSGI framework supported)
Flask, Django, Pyramid, Bottle supported
Example: "Hello World"
save above code as app.py now run sl (ServeLight)
view examples for more... View Documentaion*
License
Code and documentation are available according to the MIT License (see LICENSE).
Last updated