waffleweb

Berserkware
Berserkware
2 months ago
79⚡️
  • web-dev
  • python
  • backend

  • 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

    What did I do right ?

    1
    Functionality
    1
    Testability
    1
    Simplicity
    1
    Style
    1
    Documentation
    1
    Portability
    1
    Maintainability
    1
    Reusability
    0
    Good UI
    0
    Good UX
    Loading...
    Logo

    skillShack(⚡); is a community for software professionals looking to share the projects they are working on and get feedback. From side projects to startups!

    Follow us on

    Designed by Braggi Solutions © Braggi Solutions 2021 All right reserved