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

Uploaded Source

Built Distribution

aiojson-0.3.1612466996-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiojson-0.3.1612466996.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for aiojson-0.3.1612466996.tar.gz
Algorithm Hash digest
SHA256 60f1eed0010e61bbc0a02f16c7207b5fea04b8e5251307ef8ef178ced77ddc67
MD5 d302da484b88df540bb4be974dcf1249
BLAKE2b-256 94fde15bd1759b4f60a9b7028d34d3af6319d2cd637882daaf2a4dae521c93aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiojson-0.3.1612466996-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for aiojson-0.3.1612466996-py3-none-any.whl
Algorithm Hash digest
SHA256 9512d0f515f1223f73a1451b729a70368e0629cb77330acf804c57cebc93a4e7
MD5 e1b9bf1862a943ddddfa2429d5ea737d
BLAKE2b-256 470264e11466a39d9d8b94c5ef80f19b477dcda3ddb25890ae92a282c79117ea

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