/machine

A simple web framework written in Python 3

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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.