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.1.tar.gz
(25.6 kB
view details)
Built Distribution
drakken-3.1.1-py3-none-any.whl
(20.1 kB
view details)
File details
Details for the file drakken-3.1.1.tar.gz
.
File metadata
- Download URL: drakken-3.1.1.tar.gz
- Upload date:
- Size: 25.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ded6e85d0a4aa7e147219eb59198c1105904d54d9ebf8371dbf78034fe8262b0 |
|
MD5 | 487533c7f75440bd067052f80fbb4016 |
|
BLAKE2b-256 | 2003c27f0af433658fe228fa38c2ce019da6abea02586bf8ab7f51f2ecc8489f |
File details
Details for the file drakken-3.1.1-py3-none-any.whl
.
File metadata
- Download URL: drakken-3.1.1-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0abdf91e3d3d7c375a5fed42b9fd81fb1071ccb8c32e1ec056e35e2f70af7033 |
|
MD5 | 6ddfee471e1b79fbdd8eab46e672ec13 |
|
BLAKE2b-256 | ec04a5394b5013e7cad4969eb45532eb93dd87f81349a4c646821e8ba85f8598 |