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.3.tar.gz
(26.2 kB
view details)
Built Distribution
drakken-3.1.3-py3-none-any.whl
(20.1 kB
view details)
File details
Details for the file drakken-3.1.3.tar.gz
.
File metadata
- Download URL: drakken-3.1.3.tar.gz
- Upload date:
- Size: 26.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70e405858d9eb39184b39b527e16372b3d1e1085f067ee3951f1dca3d23b46e3 |
|
MD5 | 0eabf9e02fa4f003b8e4490c7a90b5cd |
|
BLAKE2b-256 | 6b263ee3bf63c08b03e1300e3b87cfb846ea678662a91a64d4d57d04c8e0dfee |
File details
Details for the file drakken-3.1.3-py3-none-any.whl
.
File metadata
- Download URL: drakken-3.1.3-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 | 5f77cc874124281f844c5c2acd82d8598e97d4b8f775f4f3334d0e2f0e7039c5 |
|
MD5 | e2adfc5c6d5720d99d57f08851c7a5a8 |
|
BLAKE2b-256 | 771fb9ce84a2c8ad20e48dce97a7cf021222bed38a7e0f5b3daf0f1732e76bc2 |