Welcome to yhttp’s documentation!¶
A lightweight flask-like HTTP framework.
pip install yhttp
from yhttp.core import Application
app = Application()
@app.route()
def get(req):
return b'Hello World!'
app.ready()
Features¶
Very simple, easy to learn, less-code & fast.
Regex route.
UrlEncoded, Multipart and JSON form parsing.
A very flexible configuration system.
Use Python’s keywordonly arguments for query strings.
Easy to extend.
Builtin extensible CLI.
Request Validation
Simple WSGI Rewrite:
yhttp.core.Rewrite