Skip to main content

Simple json request template validator for aiohttp

Project description

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

Uploaded Source

Built Distribution

aiojson-0.3.1590326903-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiojson-0.3.1590326903.tar.gz
  • Upload date:
  • Size: 4.4 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.1590326903.tar.gz
Algorithm Hash digest
SHA256 df0092780a4c6b9a66c1252b372aa190ff2362ff6a655a29b22f540c06a144a2
MD5 c17750005f82f5613a697cf8589ba631
BLAKE2b-256 eaace86091429282eb214ad5973d86aadec7714d596f3544370db7f92d1528d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiojson-0.3.1590326903-py3-none-any.whl
  • Upload date:
  • Size: 6.8 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.1590326903-py3-none-any.whl
Algorithm Hash digest
SHA256 1e3211a1b15d2de2f368727443a0042a552c03d51774454cad1d34873bbcbac1
MD5 561c9618c118265d83ad8208d447c7b4
BLAKE2b-256 dad448ea9cc424dd953eca9472a0e418158c5541324f701b30051c975e048104

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