Skip to main content

Pure Python website engine. Zero dependencies. Real JSX templates.

Project description

Boask

Boask Logo
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

  1. Lightweight.
  2. No external dependecies.
  3. Unlike Flask, it's for beginners, and movers from Flask.
  4. No {{ url_for('static', filename='css/main.css') }} (example), we use /static/css/main.css for example!

Info

  1. 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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

boask-1.2.1a1-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

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

Hashes for boask-1.2.1a1.tar.gz
Algorithm Hash digest
SHA256 d34f86006a0c610441ba9646d257a0a7ba42fdb7411bc34bd31b9893319d0dad
MD5 91cdf72b3bf833a98091d622be201c01
BLAKE2b-256 69e42649d7406ded6be0b96346ed0bbd92fecfcaad5ed599824fc710ed302a29

See more details on using hashes here.

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

Hashes for boask-1.2.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 1f21cb47c587569439e4910ef755b0e597e23e0d90cba8d21dce9f4a5cca73bd
MD5 7037396970377cb551a2be70524f959a
BLAKE2b-256 ae9514dfdb5d6d828fd158f322e29fc8a687131ccc43d540b22e643e7c07c3e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page