Minimalist Python web framework
Project description
Drakken
A minimalist WSGI web framework written in Python. Uses the SQLAlchemy database toolkit and the Mako template engine.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
drakken-3.1.0.tar.gz
(25.5 kB
view hashes)
Built Distribution
drakken-3.1.0-py3-none-any.whl
(20.1 kB
view hashes)