High performance web service framework, written in C but controlled by Python
Python C Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
admin
debian
debug
docs
examples
lib/smisk
src
tests
.gitignore
CHANGELOG.rst
LICENSE
MANIFEST.in
README.rst
ez_setup.py
setup.cfg
setup.py

README.rst

Smisk

Summary

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

Getting Started

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...

Authors & Contributors