Skip to main content

Pure Python website engine.

Project description

Boask

Boask Logo
Minimal website engine.

Source (GitHub): GitHub Link (If you are on GitHub, please do not expect stable versions when there is a alpha version, it will get the alpha version, and will get version first)

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(debug=True, host="127.0.0.1", port=5000)

Make sure you are creating, at your project directory level, a templates folder containing the home.html file. When it starts, go to localhost:5000.

Comparison to Flask

  1. Lightweight.
  2. Unlike Flask, it's for beginners, and movers from Flask.
  3. 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

Now uses pyproject.toml instead of setup.py!

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.1a4.tar.gz (15.0 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.1a4-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file boask-1.2.1a4.tar.gz.

File metadata

  • Download URL: boask-1.2.1a4.tar.gz
  • Upload date:
  • Size: 15.0 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.1a4.tar.gz
Algorithm Hash digest
SHA256 f40e93594795102d8630e3bf064256130f01ba8413442cd91f1b4c3cbced8369
MD5 ac84be5fd8d96554aecfef4ec68702fe
BLAKE2b-256 f9c1aaf92707b8b3dd6c3a423df94e0e50b3d7a021428b27173521e72836fa15

See more details on using hashes here.

File details

Details for the file boask-1.2.1a4-py3-none-any.whl.

File metadata

  • Download URL: boask-1.2.1a4-py3-none-any.whl
  • Upload date:
  • Size: 17.9 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.1a4-py3-none-any.whl
Algorithm Hash digest
SHA256 05693fdf7d7338adba62d02b56f650702f6c7f4dda30528a74a873329b91b817
MD5 a5d6af339d1924d5c49e80fcf4805b19
BLAKE2b-256 13e52541d4004f2af9797017ee9575904860865c69e5c502f7df32aaec82f0b6

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