Skip to main content

Tools for aiohttp I want to reuse.

Project description

BuildStatus Coverage pypi

Tools for aiohttp I want to reuse.

Installation

Requires python 3.7.

pip install aiohttp-toolbox

To test:

atoolbox --root tests/demo web

History

v0.6.0 (unreleased)

  • 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

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

aiohttp-toolbox-0.6.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

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

aiohttp_toolbox-0.6-py37-none-any.whl (32.4 kB view details)

Uploaded Python 3.7

File details

Details for the file aiohttp-toolbox-0.6.tar.gz.

File metadata

  • Download URL: aiohttp-toolbox-0.6.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.1

File hashes

Hashes for aiohttp-toolbox-0.6.tar.gz
Algorithm Hash digest
SHA256 15370e125e5ce9ee8899420d73b2ba5ba1249b3749ebdc6207fa6d78a45a7a7a
MD5 10dc132cbb32b2956bf88e52fc49f549
BLAKE2b-256 c87411b7f0e0b44a21d6f3a4381071cbf1fd82f410d901681e7580afe78d47e2

See more details on using hashes here.

File details

Details for the file aiohttp_toolbox-0.6-py37-none-any.whl.

File metadata

  • Download URL: aiohttp_toolbox-0.6-py37-none-any.whl
  • Upload date:
  • Size: 32.4 kB
  • Tags: Python 3.7
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.1

File hashes

Hashes for aiohttp_toolbox-0.6-py37-none-any.whl
Algorithm Hash digest
SHA256 a762cea82f8ed6b57307c8136d85af1c10e325856f64e6b95d803be1f357ff05
MD5 0b3c7ff582364b0f5dc725a4f20c85c1
BLAKE2b-256 8ecfde2f8dc9876e2249a1687d8c5a6197f9b666be8f99ed2844973eb57ff167

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