GitHub - elliotgao2/xweb: High performance async web framework.

2 min read Original article ↗

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Repository files navigation

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()