Skip to main content

Simple json request template validator for aiohttp

Project description

pipeline status coverage report pypi link

Simple json template verifier for aiohttp

Usage

Simple example:

from aiohttp import JsonTemplate


@JsonTemplate({
    "messages": [{
        "id": int,
        "text": str
}])
async def received_message(request, validated_data):
    pass

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

aiojson-0.3.1590423167.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

aiojson-0.3.1590423167-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file aiojson-0.3.1590423167.tar.gz.

File metadata

  • Download URL: aiojson-0.3.1590423167.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for aiojson-0.3.1590423167.tar.gz
Algorithm Hash digest
SHA256 791faeeae0859cc069cd5f673694c9d9c862a99c5324c0f8b6207a4bd1916ef9
MD5 defac60f99ac2290121bc9f8218fe48c
BLAKE2b-256 7031a4e3b854fe20078c20a2b0945a33de216bd79a9ad34b8514eb68e41b16dc

See more details on using hashes here.

File details

Details for the file aiojson-0.3.1590423167-py3-none-any.whl.

File metadata

  • Download URL: aiojson-0.3.1590423167-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for aiojson-0.3.1590423167-py3-none-any.whl
Algorithm Hash digest
SHA256 85949205b5a64ae369c2a0c16cc65c3a717d7898af9f685250c23daacb50bcb5
MD5 72ede6e6f82d1f3d7d0086756e847e06
BLAKE2b-256 f64999bf6b4e5fe1b333111945e72bc2f19f47db187d660333223ee883fa87dc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page