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.1590351548.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiojson-0.3.1590351548.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.1590351548.tar.gz
Algorithm Hash digest
SHA256 c4f08cd0ef53a0a6b3a96cad220823be1080a0a4afbdd5fd555bbb57991cc4a6
MD5 24cda47a959115027780ee7ff92711ca
BLAKE2b-256 f3648b368685cac07ff8e0263a07ea14f7d414ed77d289fe92ed8aceb572ed0d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiojson-0.3.1590351548-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.1590351548-py3-none-any.whl
Algorithm Hash digest
SHA256 5fc21e0bcbe324e9a331c27ba8eb800b6ad866b4d9a069f5ae26c174cd7d35fc
MD5 2d026371538b84b4a85a8be4bd5e4865
BLAKE2b-256 5ab7f83e64cb886a4b92cd4a7311b1e7a836356232d1494efe69dc81a7c721ea

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