Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 743 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 743 Bytes

logo

Build License Pypi Python

High performance web framework.

Installation

pip install xweb

Usage

from xweb import App, RESTController


class IndexController(RESTController):
    async def get(self):
        self.ctx.body = {"Hello": "World"}


app = App()
app.routes = {
    '/': IndexController
}

app.listen()