A simple plugin-based web framework
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file machine-web-0.0.2.post2.tar.gz.
File metadata
- Download URL: machine-web-0.0.2.post2.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0027ec9581347593ec9701673a939653542b24a57d0f9e6fe428e23ed0a9feb6
|
|
| MD5 |
efd44619c553c4ecd044b86d4941fca1
|
|
| BLAKE2b-256 |
7f912abf5161e237f4b1dd0cb605b0e57faf6a513987b4e0dab49ec426d79ac5
|
File details
Details for the file machine_web-0.0.2.post2-py3-none-any.whl.
File metadata
- Download URL: machine_web-0.0.2.post2-py3-none-any.whl
- Upload date:
- Size: 28.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5236fd225d1a7e91b4684e62941c33a4799d5e8c9d4fa33c4d541e31682e375
|
|
| MD5 |
d07b7216c23abb5c63bba2d680813b9a
|
|
| BLAKE2b-256 |
98982aa279331e882167317d8b21c684a4b9d4680f18b35e90172ae8486a8383
|