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
timeout
middleware which returns a context manager that cancels the request on timeout expiring (see asyncio-compatible timeout context manager documentation)
a
log
middleware which adds into the log, the unique request ID from the HTTP headerX-Request-ID
attributes.
See also
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 |
---|---|---|
3.4.4 |
Async http client/server framework (asyncio) |
|
3.0.0 |
Timeout context manager for asyncio programs |
|
18.2.0 |
Classes Without Boilerplate |
|
metwork-20190515 |
Fast And Ultra-Lightweight HTTP/1.1 WSGI Server |
|
19.9.0 |
WSGI HTTP Server for UNIX |
|
1.1.0 |
Patch ssl.match_hostname for Unicode(idna) domains support |
|
4.4.2 |
multidict implementation |
|
1.2.6 |
Yet another URL library |
(8 components)