A python library for making scalable websites easy
Project description
Waffleweb is a WSGI Python web framework for making web applications easily. Waffleweb is highly customizable and doesn’t force any project layout.
Installation
You can install Waffleweb with pip.
pip install waffleweb
A Simple Example
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()
Documentation
You can find the documentation at https://waffleweb.readthedocs.io.
Contributing
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.
Links
Documentation- https://waffleweb.readthedocs.io
Source Code - https://github.com/Berserkware/waffleweb
Website - https://berserkware.github.io/waffleweb
Discord - https://discord.gg/U6HjwhkcGr
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for waffleweb-0.1a3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9af70c905925df584f3ec34ca01b12dcafe82c64288883a88416aba75800028e |
|
MD5 | b7f3535210cf7a73c8befef4745a5a17 |
|
BLAKE2b-256 | 22d9382cd1be927d5cc96b92d81b6a1575b62fbb34804350f8e5f89c881d6c67 |