Skip to main content

A lightweight Python microframework for building fast and simple web apps.

Project description

Frost

Frost is a lightweight Python web framework built from scratch.
It supports routing, templates, static files, forms, and session handling — all without any heavy dependencies.

Features

  • Minimal and fast
  • Route handling with dynamic parameters
  • Template rendering with variable replacement
  • Inline static files (CSS & JS)
  • Form handling (POST & GET)
  • Simple session management

Installation

You can install Frost locally via pip:

pip install pythonfrost

Quick Start

from pythonfrost import Server, route, read_template

@route("/")
def home():
    return read_template("index.html")

Server()

Contributing

Frost is open-source! Feel free to fork, submit issues, or contribute improvements.

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

pythonfrost-0.1.1.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

pythonfrost-0.1.1.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file pythonfrost-0.1.1.1.tar.gz.

File metadata

  • Download URL: pythonfrost-0.1.1.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for pythonfrost-0.1.1.1.tar.gz
Algorithm Hash digest
SHA256 fdbb5e29aedf0f5b4b100d93b14ec3c51bfa82bb4e081b2f610f081730298502
MD5 63d78423c42c98fb060e255bb78739e8
BLAKE2b-256 e99d85b7478548310c29186dbeeb5d8adf7735f6e1ad554e1625a37eb129a4d8

See more details on using hashes here.

File details

Details for the file pythonfrost-0.1.1.1-py3-none-any.whl.

File metadata

  • Download URL: pythonfrost-0.1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for pythonfrost-0.1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 589a6e242d2ea5bdd57f68e26338f79cef278feca90a0cb073e0933e780b4f60
MD5 3d21a4c1e3c7d86ddb7c1716a373bda6
BLAKE2b-256 a87a408c0fc9aaf6ca4481f110bd8284d088841de2331372071efee1295881eb

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