aiohttp-toolbox 0.6.3
Tools for aiohttp I want to reuse.
License: MIT
Requires Python: >=3.7

aiohttp toolbox
===============

|BuildStatus| |Coverage| |pypi|

Tools for aiohttp I want to reuse.

Installation
------------

Requires **python 3.7**.

.. code:: shell

    pip install aiohttp-toolbox

To test::

   atoolbox --root tests/demo web

.. |BuildStatus| image:: https://travis-ci.org/samuelcolvin/aiohttp-toolbox.svg?branch=master
   :target: https://travis-ci.org/samuelcolvin/aiohttp-toolbox
.. |Coverage| image:: https://codecov.io/gh/samuelcolvin/aiohttp-toolbox/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/samuelcolvin/aiohttp-toolbox
.. |pypi| image:: https://img.shields.io/pypi/v/aiohttp-toolbox.svg
   :target: https://pypi.python.org/pypi/aiohttp-toolbox


.. :changelog:

History
-------

v0.6.3 (2019-12-12)
...................
* add ``parse_request`` method to ``ExecView``

v0.6.2 (2019-10-23)
...................
* uprev. pydantic to Version 1

v0.6.1 (2019-10-17)
...................
* fix ``DummyPgPool`` to not allow direct transactions.

v0.6.0 (2019-10-08)
...................
* drop and recreate schema with a different connection before populating the database
* fix CSRF failure on file upload on firefox by allowing no Origin for uploads

v0.5.3 (2019-08-21)
...................
* Switch to direct usage of sentry-sdk (sigh)

v0.5.2 (2019-08-20)
...................
* switch from raven to sentry-sdk

v0.5.1 (2019-08-20)
...................
* upgrade pypi deploy to use API tokens

v0.5 (2019-08-20)
.................
* ``repr`` and timeout for ``DummyPgPool``
* improve error middleware for better fingerprint in ``log_warning``
* improve error middleware for better compatibility with sentry

v0.4.4 (2019-07-31)
...................
* add ``shell`` command
* tweak dummy server request logging, add response code
* upgrade ``arq`` to ``v0.16``
* upgrade ``pydantic`` to ``v0.31.1``

v0.4.1 (2019-04-29)
...................
* 404 for ``.well-known/*`` urls in  ``spa_static_handler``
* allow google recaptcha test keys

v0.4.0 (2019-04-09)
...................
* add ``spa_static_handler``

v0.3.3 (2019-03-21)
...................
* tweak ``patch_paths``

v0.3.2 (2019-03-15)
...................
* add ``patch_paths`` to settings
* ``exc_info`` adding middleware warning

v0.3.1 (2019-03-13)
...................
* add ``auto`` command to CLI

v0.3.0 (2019-03-08)
...................
* support ``arq >= 0.16`` and ``pydantic > 0.20``, #12

v0.2.2 (2019-02-13)
...................
* ``pg_middleware`` now respects ``pg_middleware_check`` function, fix #10


v0.2.1 (2019-02-07)
...................
* tweak imports, repr method for ``JsonErrors``

v0.2.0 (2019-02-04)
...................
* improved ``class_views``
* use ``argparse`` in cli
* fix logging setup
* allow patches to not be coroutines
* add ``skip_if_offline`` pytest decorator

v0.1.0 (2019-01-24)
...................
* improve logging output #9
* cleanup cli
* add commands: ``flush_redis`` and ``check_web``, implement ``wait_for_services`` #7

v0.0.11 (2018-12-27)
....................
* uprev aiohttp-session
* support latest aiohttp

v0.0.9 (2018-12-16)
...................
* allow settings and redis and postgres to be optional when creating apps

v0.0.8 (2018-12-12)
...................
* optional ``conn`` on ``View``
* improve ``raw_json_response``
* add ``JsonErrors.HTTPAccepted``
* rename ``parse_request -> parse_request_json``
* add ``parse_request_query``

v0.0.7 (2018-11-28)
...................
* improved CSRF

v0.0.6 (2018-11-22)
...................
* allow for requests without a ``conn``

v0.0.5 (2018-11-22)
...................
* improve bread, use ``handle`` not ``check_permissions``

v0.0.4 (2018-11-21)
...................
* add ``check_grecaptcha``
* improve middleware

v0.0.3 (2018-11-20)
...................
* tweak cli and how worker is run

v0.0.2 (2018-11-19)
...................
* change module name

v0.0.1 (2018-11-19)
...................
* first release