Drakken

A minimalist WSGI web framework written in Python. Uses the SQLAlchemy database toolkit, the Mako template engine, and the WebOb WSGI library.

How To Get It

How To Install It

python3 setup.py install

Quickstart

  1. Create a file demo.py and paste the following code into it:

    from drakken import Drakken
    app = Drakken()
    
    @app.route('/')
    def home(request, response):
        response.text = 'Hello from the HOME page'
    
    if __name__ == "__main__":
        app.runserver()
    
  2. Launch demo.py:

    python3 demo.py
    
  3. Visit the demo app’s home page. You should see a web page with the message Hello from the HOME page.

License

MIT License.

Contact Me

Bug reports and patches can be sent to craig@seagrape.us.