Skip to main content

Integrations aioworkers with aiohttp

Project description

The package to integration aioworkers with aiohttp

https://github.com/aioworkers/aioworkers-aiohttp/workflows/Tests/badge.svg https://codecov.io/gh/aioworkers/aioworkers-aiohttp/branch/master/graph/badge.svg https://img.shields.io/pypi/v/aioworkers-aiohttp.svg Documentation Status https://img.shields.io/pypi/pyversions/aioworkers-aiohttp.svg

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aioworkers-aiohttp-0.7.2.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aioworkers_aiohttp-0.7.2-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

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

Hashes for aioworkers-aiohttp-0.7.2.tar.gz
Algorithm Hash digest
SHA256 fd0cae1f5b9ee307a0586d0b084a6e907763f39522467deb351dbad1d743dc53
MD5 d10ce81ec0f1a4aa2d314966f4e971e3
BLAKE2b-256 56f1cae3203aeb8bf2f7aff6eb1e7f280b4c0e472789addaf26561b0c41b8db5

See more details on using hashes here.

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

Hashes for aioworkers_aiohttp-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dab41ed101069d12620963a6b13da70926326b3cc876b88ba4a237c158cd3bef
MD5 5786f697094f913317f566b9f56f7a05
BLAKE2b-256 80a57c85f14e5b586e7a3155497300577ed2ca28f3e2aa7ccf8417c42aa08cfb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page