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.1596974123.tar.gz (5.1 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.1596974123-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiojson-0.3.1596974123.tar.gz
  • Upload date:
  • Size: 5.1 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.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for aiojson-0.3.1596974123.tar.gz
Algorithm Hash digest
SHA256 091c0bcb30a78e83982ed19e42167ec3c5dabbabae1fe225f0c3a03e07aa8846
MD5 cdd383f12d3ccd21eaa72f39714f7829
BLAKE2b-256 6abd1a8ab5280ae86fc424a2fb1417c7d5a6614a3cfc0faf65885b2a65cc37cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiojson-0.3.1596974123-py3-none-any.whl
  • Upload date:
  • Size: 7.7 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.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for aiojson-0.3.1596974123-py3-none-any.whl
Algorithm Hash digest
SHA256 cd261e5791e446e2d11dd040f943bce633a1bd5816a1de75282c029d525eab06
MD5 fb7906f3465ea014e21b47652812f169
BLAKE2b-256 0e219366dd2c36eb56cccb10c89a9dc431e197072f24ec010b9b91a96fae9b15

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