Pure Python website engine.
Project description
Boask
Minimal website engine.
pip install boask
Quick Start
from boask import route, use, run_server, html_templates
@route("/")
def home(handler):
return html_templates.render("home.html", title="Boask")
if __name__ == "__main__":
run_server()
Comparison to Flask
- Lightweight.
- No external dependecies.
- Unlike Flask, it's for beginners, and movers from Flask.
- No
{{ url_for('static', filename='css/main.css') }}(example), we use/static/css/main.cssfor example!
Info
- Do not install a earlier version than 1.0.4, you can 1.0.0 but that one is not supported! You can't import them! Also, do not install 1.1.4! It had a bug in strict slashes and it did 500 always! I don't know how the 1.1.4 issue happened! Do not install 1.1.5a2 also! It has import error instead of import .error
Changelog
Now uses pyproject.toml instead of setup.py!
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
boask-1.2.1a2.tar.gz
(14.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
boask-1.2.1a2-py3-none-any.whl
(17.7 kB
view details)
File details
Details for the file boask-1.2.1a2.tar.gz.
File metadata
- Download URL: boask-1.2.1a2.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0fdf990c47bb06c0d302d35ac8554dab53f213974f02c97d9e245ffde85aadf
|
|
| MD5 |
fdad0ede49701f0cf32888de8c4b6f66
|
|
| BLAKE2b-256 |
efa5539a865dda3af6dfdb161bddc36bb96b0307983238a51df78bcb1cf0cc05
|
File details
Details for the file boask-1.2.1a2-py3-none-any.whl.
File metadata
- Download URL: boask-1.2.1a2-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a5e0595673f8098f696f0d5c82cb94bfc2fa39b0d6b563224241f8bea09c7f9
|
|
| MD5 |
47b9245ba8261144d8271c94ae44338b
|
|
| BLAKE2b-256 |
18a734717a9ce6809ca6712f62e5330b00fd068795b7c6d8ef8aaf977adeeeaf
|