Karlooper is a Python web micro-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
Metadata
Release files for karlooper 0.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| karlooper-0.7.2.tar.gz | 22.3 kB | Details |
Release files / karlooper-0.7.2.tar.gz
| Download URL | karlooper-0.7.2.tar.gz |
|---|---|
| Size | 22.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1028c260ee4e76074484ac41ce7323088a5384d3a80b5f6a3fa3cfc1cae9f41c
|
|
BLAKE2b-256 checksum How to use checksums |
711e5ad553011154e2c75025bd62ec153ed6c10b130857e4a44e4e6ec33d92be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |