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

Uploaded Source

Built Distribution

aiojson-0.3.1612465515-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiojson-0.3.1612465515.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for aiojson-0.3.1612465515.tar.gz
Algorithm Hash digest
SHA256 4958107376cc8397b9dd067c8f3931f4493b9c2edfdee289daaca8589ce1966c
MD5 8413c203ba1799cb1d6bfe65d5b99508
BLAKE2b-256 fd1c1fae81bd229d24fc3ab0bc22b205cad4943e2b80c131f880c1d4ce8800e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiojson-0.3.1612465515-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for aiojson-0.3.1612465515-py3-none-any.whl
Algorithm Hash digest
SHA256 597f542ad2830ebdace96c56f0981d600b79575ce4487ac8391672c66b820c78
MD5 dcb46b36d27deaca973bf07e96d1bae9
BLAKE2b-256 946558a46c0ee704ee3737f3a11003317937d023f5f2fcef0bbec6c4947a710a

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