17. Layer python3¶
17.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.
17.2. Metadata¶
17.2.1. Layer Home¶
/opt/metwork-mfserv-0.8/opt/python3
17.2.2. Label¶
17.2.3. Dependencies¶
17.3. Packages¶
Name |
Version |
Description |
Home Page |
|
---|---|---|---|---|
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 packages)