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 frost

Quick Start

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pythonfrost-0.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.tar.gz
Algorithm Hash digest
SHA256 f57ad8618d3c8446c8376fe46a46b2b56c82a01d877df1825def0a8533441544
MD5 e0da5d655086da654ca44e652841aad5
BLAKE2b-256 7a4ffbedefed1bf752e11ec422f51b1e581b9497204ae96405e12be8b3efe549

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythonfrost-0.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-py3-none-any.whl
Algorithm Hash digest
SHA256 104b8c06fd20175f2f53ddd491b73938a1cd228893efedb710934ff1e747eda6
MD5 e81765900e2821f2d9632f8df9800c76
BLAKE2b-256 113dab44fac4836f06bf1eaf8a1358b0bafb8f5c23b8e7ed5e374ceb7e9c0732

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