Python web framework
Project description
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
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.
License
Contact Me
Bug reports and patches can be sent 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-2.2b2.tar.gz
(15.4 kB
view hashes)
Built Distribution
drakken-2.2b2-py3-none-any.whl
(12.9 kB
view hashes)