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.2.tar.gz
(26.2 kB
view details)
Built Distribution
drakken-3.1.2-py3-none-any.whl
(20.1 kB
view details)
File details
Details for the file drakken-3.1.2.tar.gz
.
File metadata
- Download URL: drakken-3.1.2.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 | 699363db8c88fc55ef3da60c87c4c4e5aa3a2a3bedfd15001f0cd71026de8944 |
|
MD5 | f5a7da95e7b0fca8ac2aa3d7f657b1f1 |
|
BLAKE2b-256 | e3c34777f91d3506898d7a03495e1a266bac739717aacfb0bcec8a1a85a7b53c |
File details
Details for the file drakken-3.1.2-py3-none-any.whl
.
File metadata
- Download URL: drakken-3.1.2-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 | 189a6e11af2ca1397b743004087df66b5c9c4465c3621b7c89cbdb2e38230396 |
|
MD5 | f0c67e9a66d4da268f19ffeaf7712b31 |
|
BLAKE2b-256 | 0f5ad1517a7efc2c99df4b677863f1549d29c9fa29d98bf1db027d4699b33566 |