Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

karloop plus micro-framework

Project description

Karlooper is a Python web framework and asynchronous networking library, originally developed at Coders. By using non-blocking network I/O, Karlooper can scale to tens of thousands of open connections, for more click

Hello, World!

Here is a simple “Hello, World!” example web app for Karlooper:

# -*-coding:utf-8-*-

from karlooper.web.application import Application
from karlooper.web.request import Request

__author__ = 'karlvorndoenitz@gmail.com'


class HelloHandler(Request):
    def get(self):
        return self.http_response("Hello, World!")

handlers = {
    "/hello": HelloHandler
}

if __name__ == '__main__':
    application = Application(handlers, port=8000)
    application.run()

Documentation

Documentation and links to additional resources are available at https://github.com/karldoenitz/karlooper

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for karlooper, version 0.5.0
Filename, size File type Python version Upload date Hashes
Filename, size karlooper-0.5.0.tar.gz (17.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page