aioworkers-aiohttp-0.7.3
توضیحات
Integrations aioworkers with aiohttp
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aioworkers-aiohttp-0.7.3 |
| نام | aioworkers-aiohttp |
| نسخه کتابخانه | 0.7.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Alexander Malev |
| ایمیل نویسنده | yttrium@somedev.ru |
| آدرس صفحه اصلی | https://github.com/aioworkers/aioworkers-aiohttp |
| آدرس اینترنتی | https://pypi.org/project/aioworkers-aiohttp/ |
| مجوز | Apache Software License 2.0 |
aioworkers-aiohttp
==================
The package to integration aioworkers with aiohttp
.. image:: https://github.com/aioworkers/aioworkers-aiohttp/workflows/Tests/badge.svg
:target: https://github.com/aioworkers/aioworkers-aiohttp/actions?query=workflow%3ATests
.. image:: https://codecov.io/gh/aioworkers/aioworkers-aiohttp/branch/master/graph/badge.svg
:target: https://codecov.io/gh/aioworkers/aioworkers-aiohttp
.. image:: https://img.shields.io/pypi/v/aioworkers-aiohttp.svg
:target: https://pypi.org/project/aioworkers-aiohttp
.. image:: https://readthedocs.org/projects/aioworkers-aiohttp/badge/?version=latest
:target: http://aioworkers-aiohttp.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://img.shields.io/pypi/pyversions/aioworkers-aiohttp.svg
:target: https://pypi.org/project/aioworkers-aiohttp
Features
--------
- Building of the routing from config like swagger
- Start aiohttp project with multiprocessing mode
Example
-------
.. code-block:: yaml
http:
port: 8080
access_log:
format: %a %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"
app:
routes:
- mymodule.route_table
- mymodule.route
resources:
/html:
static: static/html
/css:
static:
path: static/css
api:
prefix: /api
pets:
/pet/{pet_id}:
get:
tags: [Pet]
handler: mymodule.mycoro
description: Info about pet
parameters:
- name: pet_id
in: path
type: integer
minimum: 0
responses:
200:
description: OK
400:
description: Validation error
404:
description: Not found
logging:
version: 1
formatters:
access:
format: %a %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"
نیازمندی
| مقدار | نام |
|---|---|
| >=0.13.0 | aioworkers |
| >=3.1 | aiohttp |
| >=0.9.6 | aiohttp-apiset |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl aioworkers-aiohttp-0.7.3:
pip install aioworkers-aiohttp-0.7.3.whl
نصب پکیج tar.gz aioworkers-aiohttp-0.7.3:
pip install aioworkers-aiohttp-0.7.3.tar.gz