Metadata-Version: 2.1
Name: aiohttp-toolbox
Version: 0.5.1
Summary: Tools for aiohttp I want to reuse.
Home-page: https://github.com/samuelcolvin/aiohttp-tools
Author: Samuel Colvin
Author-email: s@muelcolvin.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Unix
Classifier: Operating System :: POSIX :: Linux
Classifier: Environment :: MacOS X
Classifier: Topic :: Internet
Requires-Python: >=3.7
Requires-Dist: aiodns (>=2.0.0)
Requires-Dist: aiohttp (>=3.5.4)
Requires-Dist: async-timeout (>=3.0.1)
Requires-Dist: cchardet (>=2.1.4)
Requires-Dist: pydantic (>=0.31.1)
Requires-Dist: raven (>=6.10.0)
Requires-Dist: raven-aiohttp (>=0.7.0)
Requires-Dist: uvloop (>=0.11.2)
Requires-Dist: dataclasses (>=0.6) ; python_version < "3.7"
Provides-Extra: all
Requires-Dist: aiohttp-session (>=2.7.0) ; extra == 'all'
Requires-Dist: arq (>=0.16) ; extra == 'all'
Requires-Dist: asyncpg (>=0.17.0) ; extra == 'all'
Requires-Dist: buildpg (>=0.2.1) ; extra == 'all'
Requires-Dist: cryptography (>=2.4.1) ; extra == 'all'
Requires-Dist: ipython (>=7.7.0) ; extra == 'all'

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.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


