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

Uploaded Source

Built Distribution

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

aiojson-0.3.1597528181-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiojson-0.3.1597528181.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for aiojson-0.3.1597528181.tar.gz
Algorithm Hash digest
SHA256 46e26478e0bb61df84687ad623af1b543c126c88f1b4f0d302b5a88f1215dd0e
MD5 6a34399c2e83fc38bdff253183dd9c94
BLAKE2b-256 663b53819e0655852beb9ed949594206d4b0bf6a7d0303d8bb038fe7bab230e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiojson-0.3.1597528181-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for aiojson-0.3.1597528181-py3-none-any.whl
Algorithm Hash digest
SHA256 ce2ca3c5ed51a2ab2763b26471e6eb2419ac4b6fa267c3d58daf9c51ccaa951e
MD5 cce7cb3298b2a0c4cd23ef3a81bb8d23
BLAKE2b-256 e3eba8addb3300572bf5ce8b933d5550e45bf9c5e80831ca416efe6b0e7257d1

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