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.2.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.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pythonfrost-0.1.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 b857bdd0bbe9e72e678996f4d2712d54c4967be9d0d316d54811a552db718e50
MD5 e55dad2d036850aaf966f82a98b8efc7
BLAKE2b-256 e03580242261caa12e41257fed95d1d274dceda0a1a4a3f7d1f62338a8994f9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythonfrost-0.1.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 53027fa06ca9116d10141982c94bf4c90721bb3b9fda7f4c27d0a8e0fd838294
MD5 899e4bd543cdaf5449ca46c01704dc93
BLAKE2b-256 db172c913600e2b65e281e3b6a911564ff1cab75fb8aaa936294716e2cea264c

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