Skip to main content

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

waffleweb-0.1a4.tar.gz (17.9 kB view hashes)

Uploaded Source

Built Distribution

waffleweb-0.1a4-py3-none-any.whl (24.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page