aioworkers-aiohttp


Nameaioworkers-aiohttp JSON
Version 0.8 PyPI version JSON
download
home_pageNone
SummaryIntegrations aioworkers with aiohttp
upload_time2023-07-11 22:15:39
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords aiohttp aioworkers
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            aioworkers-aiohttp
==================

The package to integration aioworkers with aiohttp

.. image:: https://img.shields.io/pypi/v/aioworkers-aiohttp.svg
  :target: https://pypi.org/project/aioworkers-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
  :alt: Coverage

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v0.json
  :target: https://github.com/charliermarsh/ruff
  :alt: Code style: ruff

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
  :target: https://github.com/psf/black
  :alt: Code style: black

.. image:: https://img.shields.io/badge/types-Mypy-blue.svg
  :target: https://github.com/python/mypy
  :alt: Code style: Mypy

.. image:: https://readthedocs.org/projects/aioworkers-aiohttp/badge/?version=latest
  :target: https://github.com/aioworkers/aioworkers-aiohttp#readme
  :alt: Documentation Status

.. image:: https://img.shields.io/pypi/pyversions/aioworkers-aiohttp.svg
  :target: https://pypi.org/project/aioworkers-aiohttp
  :alt: Python versions

.. image:: https://img.shields.io/pypi/dm/aioworkers-aiohttp.svg
  :target: https://pypi.org/project/aioworkers-aiohttp

.. image:: https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg
  :alt: Hatch project
  :target: https://github.com/pypa/hatch


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


Development
-----------

Check code:

.. code-block:: shell

    hatch run lint:all


Format code:

.. code-block:: shell

    hatch run lint:fmt


Run tests:

.. code-block:: shell

    hatch run pytest


Run tests with coverage:

.. code-block:: shell

    hatch run cov

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "aioworkers-aiohttp",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "aiohttp,aioworkers",
    "author": null,
    "author_email": "Alexander Malev <yttrium@somedev.ru>",
    "download_url": "https://files.pythonhosted.org/packages/95/74/cc3dfd9ef4f23da5991fa9406f0741b5105b1759a7375abd7003d3223b00/aioworkers_aiohttp-0.8.tar.gz",
    "platform": null,
    "description": "aioworkers-aiohttp\n==================\n\nThe package to integration aioworkers with aiohttp\n\n.. image:: https://img.shields.io/pypi/v/aioworkers-aiohttp.svg\n  :target: https://pypi.org/project/aioworkers-aiohttp\n\n.. image:: https://github.com/aioworkers/aioworkers-aiohttp/workflows/Tests/badge.svg\n  :target: https://github.com/aioworkers/aioworkers-aiohttp/actions?query=workflow%3ATests\n\n.. image:: https://codecov.io/gh/aioworkers/aioworkers-aiohttp/branch/master/graph/badge.svg\n  :target: https://codecov.io/gh/aioworkers/aioworkers-aiohttp\n  :alt: Coverage\n\n.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v0.json\n  :target: https://github.com/charliermarsh/ruff\n  :alt: Code style: ruff\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n  :target: https://github.com/psf/black\n  :alt: Code style: black\n\n.. image:: https://img.shields.io/badge/types-Mypy-blue.svg\n  :target: https://github.com/python/mypy\n  :alt: Code style: Mypy\n\n.. image:: https://readthedocs.org/projects/aioworkers-aiohttp/badge/?version=latest\n  :target: https://github.com/aioworkers/aioworkers-aiohttp#readme\n  :alt: Documentation Status\n\n.. image:: https://img.shields.io/pypi/pyversions/aioworkers-aiohttp.svg\n  :target: https://pypi.org/project/aioworkers-aiohttp\n  :alt: Python versions\n\n.. image:: https://img.shields.io/pypi/dm/aioworkers-aiohttp.svg\n  :target: https://pypi.org/project/aioworkers-aiohttp\n\n.. image:: https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg\n  :alt: Hatch project\n  :target: https://github.com/pypa/hatch\n\n\nFeatures\n--------\n\n- Building of the routing from config like swagger\n- Start aiohttp project with multiprocessing mode\n\nExample\n-------\n\n.. code-block:: yaml\n\n  http:\n    port: 8080\n    access_log:\n      format: %a %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\"\n\n  app:\n    routes:\n      - mymodule.route_table\n      - mymodule.route\n    resources:\n      /html:\n        static: static/html\n      /css:\n        static:\n          path: static/css\n      api:\n        prefix: /api\n        pets:\n          /pet/{pet_id}:\n            get:\n              tags: [Pet]\n              handler: mymodule.mycoro\n              description: Info about pet\n              parameters:\n                - name: pet_id\n                  in: path\n                  type: integer\n                  minimum: 0\n              responses:\n                200:\n                  description: OK\n                400:\n                  description: Validation error\n                404:\n                  description: Not found\n\n\nDevelopment\n-----------\n\nCheck code:\n\n.. code-block:: shell\n\n    hatch run lint:all\n\n\nFormat code:\n\n.. code-block:: shell\n\n    hatch run lint:fmt\n\n\nRun tests:\n\n.. code-block:: shell\n\n    hatch run pytest\n\n\nRun tests with coverage:\n\n.. code-block:: shell\n\n    hatch run cov\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Integrations aioworkers with aiohttp",
    "version": "0.8",
    "project_urls": {
        "Documentation": "https://github.com/aioworkers/aioworkers-aiohttp#readme",
        "Homepage": "https://github.com/aioworkers/aioworkers-aiohttp",
        "Issues": "https://github.com/aioworkers/aioworkers-aiohttp/issues",
        "Source": "https://github.com/aioworkers/aioworkers-aiohttp"
    },
    "split_keywords": [
        "aiohttp",
        "aioworkers"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d6f62d96a1c707dccff5a768654c43d50e06cafb216060847864f1d845f52434",
                "md5": "1482acd85fa92651141ad0079b7ffe03",
                "sha256": "6c3fa42dd44d5d49898149afd2d8f26d4f12a105a2bf2799536831934d9f4780"
            },
            "downloads": -1,
            "filename": "aioworkers_aiohttp-0.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1482acd85fa92651141ad0079b7ffe03",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 13548,
            "upload_time": "2023-07-11T22:15:38",
            "upload_time_iso_8601": "2023-07-11T22:15:38.085633Z",
            "url": "https://files.pythonhosted.org/packages/d6/f6/2d96a1c707dccff5a768654c43d50e06cafb216060847864f1d845f52434/aioworkers_aiohttp-0.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9574cc3dfd9ef4f23da5991fa9406f0741b5105b1759a7375abd7003d3223b00",
                "md5": "c061165f4826aae7eae55157a2f4262d",
                "sha256": "542c11c16f2b2372cbb6f2956fe8c15f04c5a1e0afeedb868e4283ee72ac89d5"
            },
            "downloads": -1,
            "filename": "aioworkers_aiohttp-0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "c061165f4826aae7eae55157a2f4262d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 12091,
            "upload_time": "2023-07-11T22:15:39",
            "upload_time_iso_8601": "2023-07-11T22:15:39.816509Z",
            "url": "https://files.pythonhosted.org/packages/95/74/cc3dfd9ef4f23da5991fa9406f0741b5105b1759a7375abd7003d3223b00/aioworkers_aiohttp-0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-11 22:15:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "aioworkers",
    "github_project": "aioworkers-aiohttp#readme",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "aioworkers-aiohttp"
}
        
Elapsed time: 0.09516s