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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file waffleweb-0.1a4.tar.gz.

File metadata

  • Download URL: waffleweb-0.1a4.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for waffleweb-0.1a4.tar.gz
Algorithm Hash digest
SHA256 282985bb403eaf6787593883f583c5323a4ed85c56d681f5df341b3831a46748
MD5 0760adbec250fe0250401cda887f1dc1
BLAKE2b-256 9c1792c71048c454da3f8ed181fec720deef99d882628b810432ec4c1b8a387b

See more details on using hashes here.

File details

Details for the file waffleweb-0.1a4-py3-none-any.whl.

File metadata

  • Download URL: waffleweb-0.1a4-py3-none-any.whl
  • Upload date:
  • Size: 24.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for waffleweb-0.1a4-py3-none-any.whl
Algorithm Hash digest
SHA256 599fc4864d3585e5e4a564d25e68dbf3d50fdca2bede247ce5b35599132f21ed
MD5 716146c55e4b8da2a2600bb939d7b43f
BLAKE2b-256 6c54c66dcab538c240bcf2407e19004018b2cf32084ed1456cbee90a2fda634f

See more details on using hashes here.

Supported by

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