Waffleweb is a WSGI Python web framework for making web applications easily. Waffleweb is highly customizable and doesn't force any project layout.
You can install Waffleweb with pip.
pip install waffleweb
from waffleweb import app
from waffleweb.response import HTTPResponse, render
@app.route('/index')
def index(request):
return HTTPResponse(request, 'index')
@app.route('/article/<id:int>/<name:str>')
def articleView(request, id, name):
return render(request, 'articleView.html', context=findArticle(id, name))
app.run()
You can find the documentation at https://waffleweb.readthedocs.io.
To contribute to Waffleweb all you need to do fork the repo and change what you thing needs to be changed. You can then submit a pull request for review.
- Documentation- https://waffleweb.readthedocs.io
- Changes - https://berserkware.github.io/waffleweb/changes
- Source Code - https://github.com/Berserkware/waffleweb
- Website - https://berserkware.github.io/waffleweb
- Discord - https://discord.gg/U6HjwhkcGr