Pure Python website engine. Zero dependencies. Real JSX templates.
Project description
Boask
Pure Python website engine.
Zero external dependencies.
Real JSX-style templates without React.
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 uses built in python libaries only! It uses built-in libs, and some python file libs that are using only built in functions!
- No "{{ url_for('static', filename='css/main.css') }}" (example), we use /static/css/main.css for 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!
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.1.5a2.tar.gz
(5.7 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
File details
Details for the file boask-1.1.5a2.tar.gz.
File metadata
- Download URL: boask-1.1.5a2.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eed23b3ba30870f1c99e2cfef2d5eb196565b5ab8d552d763d292f6558391a70
|
|
| MD5 |
b05463625dc0f7406f4a33d661773718
|
|
| BLAKE2b-256 |
9096bfa225a1e9b977d9618107d7e1b50a9ea017a67d6714008625c3031bf326
|
File details
Details for the file boask-1.1.5a2-py3-none-any.whl.
File metadata
- Download URL: boask-1.1.5a2-py3-none-any.whl
- Upload date:
- Size: 6.9 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 |
db24d1d84283323e329d42560cc1c3d1b9e529788412aea9f4ac06306aafb802
|
|
| MD5 |
dcac0fd621e1b1647307a70b73c0cad0
|
|
| BLAKE2b-256 |
0f7032de92dce7f50880cdd3d22973c609fa5cf47b2fd9068f47d5a62e578644
|