Smisk is a simple, high-performance and scalable web service framework written in C, but controlled by Python.
It is designed to widen the common bottle necks in heavy-duty web services.
More information at the Smisk website
- Install with
easy_install smisk
, download from PyPI or use a Debian package - Have a look at a few examples
This is a minimal Smisk service:
from smisk.core import Application
class MyApp(Application):
def service(self):
self.response.headers = ['Content-Type: text/plain']
self.response("Hello World!")
MyApp().run()
And here we have a WSGI compatible application:
from smisk.wsgi import *
def hello_app(env, start_response):
start_response("200 OK", [('Content-Type', 'text/plain')])
return ["Hello, World!"]
main(hello_app)
More examples available here...
- Rasmus Andersson rasmus-flajm.com
- Eric Moritz eric-themoritzfamily.com
- Ludvig Strigeus