kraglik / machine

A simple web framework written in Python 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Machine

A very simple web framework implemented in Python.

The core idea of this framework are plugins. Plugins could be found everywhere throughout the framework. Plugin itself is simple - it's just an asynchronous generator that yields a tuple of Connection and Parameters.

The simplest possible plugin just yields its arguments:

async def simple_plugin(conn, params):
    yield conn, params

Installation

To install Machine, just type pip install machine-web in your console.

About

A simple web framework written in Python 3

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 99.8%Language:Shell 0.2%