Integrations aioworkers with aiohttp
Project description
The package to integration aioworkers with aiohttp
Features
Building of the routing from config like swagger
Start aiohttp project with multiprocessing mode
Example
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"
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 aioworkers-aiohttp-0.7.2.tar.gz.
File metadata
- Download URL: aioworkers-aiohttp-0.7.2.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd0cae1f5b9ee307a0586d0b084a6e907763f39522467deb351dbad1d743dc53
|
|
| MD5 |
d10ce81ec0f1a4aa2d314966f4e971e3
|
|
| BLAKE2b-256 |
56f1cae3203aeb8bf2f7aff6eb1e7f280b4c0e472789addaf26561b0c41b8db5
|
File details
Details for the file aioworkers_aiohttp-0.7.2-py3-none-any.whl.
File metadata
- Download URL: aioworkers_aiohttp-0.7.2-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dab41ed101069d12620963a6b13da70926326b3cc876b88ba4a237c158cd3bef
|
|
| MD5 |
5786f697094f913317f566b9f56f7a05
|
|
| BLAKE2b-256 |
80a57c85f14e5b586e7a3155497300577ed2ca28f3e2aa7ccf8417c42aa08cfb
|