Skip to main content

aioworkers-aiohttp

The package to integration aioworkers with aiohttp

https://img.shields.io/pypi/v/aioworkers-aiohttp.svg https://github.com/aioworkers/aioworkers-aiohttp/workflows/Tests/badge.svg Coverage Code style: ruff Code style: black Code style: Mypy Documentation Status Python versions https://img.shields.io/pypi/dm/aioworkers-aiohttp.svg Hatch project

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

Development

Check code:

hatch run lint:all

Format code:

hatch run lint:fmt

Run tests:

hatch run pytest

Run tests with coverage:

hatch run cov

Metadata

Release files for aioworkers-aiohttp 0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aioworkers-aiohttp 0.8
File Size Uploaded Provenance
aioworkers_aiohttp-0.8.tar.gz 12.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aioworkers-aiohttp 0.8
File Interpreter ABI Platform
aioworkers_aiohttp-0.8-py3-none-any.whl Python 3 none any Details

Total release size: 25.6 kB

Release files / aioworkers_aiohttp-0.8.tar.gz

Download URL aioworkers_aiohttp-0.8.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
542c11c16f2b2372cbb6f2956fe8c15f04c5a1e0afeedb868e4283ee72ac89d5
BLAKE2b-256 checksum
How to use checksums
9574cc3dfd9ef4f23da5991fa9406f0741b5105b1759a7375abd7003d3223b00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.24.1

Release files / aioworkers_aiohttp-0.8-py3-none-any.whl

Download URL aioworkers_aiohttp-0.8-py3-none-any.whl
Size 13.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c3fa42dd44d5d49898149afd2d8f26d4f12a105a2bf2799536831934d9f4780
BLAKE2b-256 checksum
How to use checksums
d6f62d96a1c707dccff5a768654c43d50e06cafb216060847864f1d845f52434
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.24.1

Security for aioworkers-aiohttp 0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page