Pure Python website engine. Zero dependencies. Real JSX templates.
Project description
Boask
Pure Python 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
Nothing... (shhh, check secret message #1)
Secret message/s
#1 there is from boask import a683jfg84h the code is
class a683jfg84h:
def nokia():
print("*chime*")
def lg():
print("LG: Life's Good")
print("Playing LG jingle...")
print("*LG jingle plays*")
print("End of LG jingle.")
print("LG phone is operational.")
print("*hardware bootloop*")
def samsung():
print("Samsung: Imagine")
print("Playing Samsung jingle...")
print("*Samsung jingle plays*")
print("End of Samsung jingle.")
print("FRP Blocked a suspicious kernel. (meanwhile it's just a normal ROM)")
def honor():
print("*bootloop*")
print("*eRecorery*")
print("Trying to download latest version and recovery... (meanwhile it's EOL)")
print("Failed to download update. Please visit the nearest service center.")
print("*shows eRecovery screen again*")
print("infinitely doing that")
print("*still*")
print("*battery drains while installing, meanwhile it actually was installing an update*")
print("Charging.")
print("Charged.")
print("Starting...")
print("Operating system not Found.")
def tab_a7_lite():
print("Galaxy Tab A7 Lite: Ready to use")
print("*Boots normally*")
print("Operating system loaded.")
print("Hardware OK, battery healthy.")
def pc():
print("Old PC: Veteran mode")
print("*CMOS OK*")
print("Boots normally.")
print("256 MB DDR2 still operational.")
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.1a1.tar.gz
(10.1 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.1a1-py3-none-any.whl
(13.0 kB
view details)
File details
Details for the file boask-1.2.1a1.tar.gz.
File metadata
- Download URL: boask-1.2.1a1.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d34f86006a0c610441ba9646d257a0a7ba42fdb7411bc34bd31b9893319d0dad
|
|
| MD5 |
91cdf72b3bf833a98091d622be201c01
|
|
| BLAKE2b-256 |
69e42649d7406ded6be0b96346ed0bbd92fecfcaad5ed599824fc710ed302a29
|
File details
Details for the file boask-1.2.1a1-py3-none-any.whl.
File metadata
- Download URL: boask-1.2.1a1-py3-none-any.whl
- Upload date:
- Size: 13.0 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 |
1f21cb47c587569439e4910ef755b0e597e23e0d90cba8d21dce9f4a5cca73bd
|
|
| MD5 |
7037396970377cb551a2be70524f959a
|
|
| BLAKE2b-256 |
ae9514dfdb5d6d828fd158f322e29fc8a687131ccc43d540b22e643e7c07c3e4
|