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! Do not install 1.1.5a2 also! It has import error instead of import .error
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.5a3.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.5a3.tar.gz.
File metadata
- Download URL: boask-1.1.5a3.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 |
c4b8127bd3c722a0a2ce6bbc376945ff222fbcfa1a933a505049dd053d3cd3ab
|
|
| MD5 |
fb57414cc7eb660bc9e2b2fd43ef80de
|
|
| BLAKE2b-256 |
17076147d2b63c7cee08de61f85ac68c426a9124e3591e35d1d17d24468f7580
|
File details
Details for the file boask-1.1.5a3-py3-none-any.whl.
File metadata
- Download URL: boask-1.1.5a3-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 |
7fedbf008c618dc826c1d8b4fff2ec2649144c9f6f095dda17c907a656c21f53
|
|
| MD5 |
c538bd68014e58cc6cb793c0b9600429
|
|
| BLAKE2b-256 |
d6d6da22e53808f17545d76cf34945647bb0a9b819dc1e7773e87f37582320ef
|