Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/elliotgao2/xweb
- Owner: elliotgao2
- License: mit
- Created: 2017-03-06T05:21:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-08T07:41:20.000Z (about 6 years ago)
- Last Synced: 2024-09-16T15:08:26.166Z (2 months ago)
- Topics: asyncio, httptools, microframework, middleware, uvloop, web, webframework, xweb
- Language: Python
- Homepage:
- Size: 123 KB
- Stars: 313
- Watchers: 21
- Forks: 36
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
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, RESTControllerclass IndexController(RESTController):
async def get(self):
self.ctx.body = {"Hello": "World"}app = App()
app.routes = {
'/': IndexController
}app.listen()
```