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 aiojsonapi 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

aiojsonapi-0.3.1633554756.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

aiojsonapi-0.3.1633554756-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file aiojsonapi-0.3.1633554756.tar.gz.

File metadata

  • Download URL: aiojsonapi-0.3.1633554756.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for aiojsonapi-0.3.1633554756.tar.gz
Algorithm Hash digest
SHA256 1923edcdbb660cb0994de2b314b8b25ffa54d25bdc6d59b3039ab3497d32add0
MD5 ca0733eb9933682fc6b2961e96d241ac
BLAKE2b-256 d4f87662cde8f232d609232f10e5c92a27a1fff44cba12d4a869bad0ccbf1cdb

See more details on using hashes here.

File details

Details for the file aiojsonapi-0.3.1633554756-py3-none-any.whl.

File metadata

  • Download URL: aiojsonapi-0.3.1633554756-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for aiojsonapi-0.3.1633554756-py3-none-any.whl
Algorithm Hash digest
SHA256 0f680584d85acd86e11ee25c665b102d98ad26f5ded8d4dc07833477c7d47028
MD5 f769625826b9968f4cffecfa86c9da14
BLAKE2b-256 5a90af3ec120f79d761a1a20c84fabc680a3b4d2bb0e9315fe149709f7b9bdbf

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