py-package / lite

Lite is a lightweight Python web framework designed for simplicity and ease of use.

Home Page:https://py-package.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Workflow Status PyPI issues Python Version GitHub release (latest by date including pre-releases) License star downloads Code style: black

Lite Framework (WIP)

Lite is a lightweight Python web framework designed for simplicity and ease of use. It provides a minimalistic approach to web development with basic routing and request/response handling.

Getting Started

Installation

pip install lite

Basic Usage

lite craft app_name

This will create a new app in the current directory with the following structure:

-- app_name
    -- app
        -- controllers
        -- middlewares
        -- models
        -- views
    -- config
        -- config.py
        -- database.py
        -- storage.py
    -- storage
    -- routes
        -- routes.py
    -- .env

Running the App

lite serve

This will start the app on port 8080 by default. You can change the port by setting the PORT environment variable.

About

Lite is a lightweight Python web framework designed for simplicity and ease of use.

https://py-package.com

License:MIT License


Languages

Language:Python 88.8%Language:HTML 8.0%Language:Makefile 3.3%