8000 lemon/docs at master · joway/lemon · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History

docs

Lemon 🍋

Lemon is an async and lightweight API framework for python . Inspired by Koa and Sanic .

Design

Server

Use Uvicorn as its backend server .

Uvicorn is a lightning-fast asyncio server using uvloop and httptools .

Router

Class : Router

For /api/:var/foo/:var2

Class : SimpleRouter

For simple api rules : /api/resourse/action

Context

ctx

Request

Bind on ctx.req .

Response

Bind on ctx.res

0