Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elliotgao2/xweb

High performance async web framework.
https://github.com/elliotgao2/xweb

asyncio httptools microframework middleware uvloop web webframework xweb

Last synced: about 5 hours ago
JSON representation

High performance async web framework.

Awesome Lists containing this project

README

        

# ![[logo](https://github.com/gaojiuli/xweb)](logo.png)

![[Build](https://travis-ci.org/gaojiuli/xweb)](https://travis-ci.org/gaojiuli/xweb.svg?branch=master)
![[License](https://pypi.python.org/pypi/xweb/)](https://img.shields.io/pypi/l/xweb.svg)
![[Pypi](https://pypi.python.org/pypi/xweb/)](https://img.shields.io/pypi/v/xweb.svg)
![[Python](https://pypi.python.org/pypi/xweb/)](https://img.shields.io/pypi/pyversions/xweb.svg)

High performance web framework.

## Installation

`pip install xweb`

## Usage

```python
from xweb import App, RESTController

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

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

app.listen()
```