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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

aiojson-0.1.2-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiojson-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.2 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.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for aiojson-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f1e9d5908ddb7da517230c3eb7718d679f2a8de4c4a13e0dc0f8d378c3b34d56
MD5 8a6f97428d1ad2324112cece259dd4e3
BLAKE2b-256 6281682d1e654355b59f238eb2d56a6982fc56ad4f86f8e84287f42cd9ecc660

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