Drakken#
A minimalist WSGI web framework written in Python. Uses the SQLAlchemy database toolkit, the Mako template engine, and the WebOb WSGI library.
Install#
pip3 install drakken
Quickstart#
Create a file demo.py and paste the following code into it:
from drakken.core import Drakken app = Drakken() @app.route('/') def home(request, response): response.text = 'Hello from the HOME page' if __name__ == "__main__": app.runserver()
Launch demo.py:
python3 demo.py
Visit the demo app’s home page. You should see a web page with the message Hello from the HOME page.
Links#
License#
Contact Me#
Send bug reports and patches to craig@seagrape.us.