18. Layer python3

18.1. Overview

The layer1_python3 layer includes Python3 MFSERV packages.

For asyncio and aiohttp python web server implementation, it also provides mechanism for customizing request handlers via middleware. Currently, this layer provides :

  • a log middleware which adds into the log, the unique request ID from the HTTP header X-Request-ID attributes.

The layer1_python3 layer is included in the .layerapi2_dependencies file of the plugin when you choose python3 during the creation of a plugin.

You may also manually include this dependencies (i.e. Label) in the .layerapi2_dependencies file.

18.2. Metadata

18.2.1. Layer Home

/opt/metwork-mfserv-0.9/opt/python3

18.2.2. Label

python3@mfserv

18.2.3. Package

metwork-mfserv-minimal

18.2.4. Dependencies

  • python3_misc@mfext

18.3. Utilities

18.4. Packages

Name

Version

Description

aiohttp

3.4.4

Async http client/server framework (asyncio)

async-timeout

3.0.0

Timeout context manager for asyncio programs

attrs

18.2.0

Classes Without Boilerplate

bjoern

metwork-20190515

Fast And Ultra-Lightweight HTTP/1.1 WSGI Server

gunicorn

19.9.0

WSGI HTTP Server for UNIX

idna-ssl

1.1.0

Patch ssl.match_hostname for Unicode(idna) domains support

multidict

4.4.2

multidict implementation

yarl

1.2.6

Yet another URL library

(8 components)