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.1612118376.tar.gz (5.4 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.1612118376-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aiojson-0.3.1612118376.tar.gz
Algorithm Hash digest
SHA256 186097f794017a7f7690e37e75363c95efae5a7ac866db76e4a76bcad20b194b
MD5 5d631b2bbba397d9c7cc98878ccf2b75
BLAKE2b-256 7494fbf69b16062ca7476e265f68a3b2e59f89be77d7137c91fb8862c88a2add

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for aiojson-0.3.1612118376-py3-none-any.whl
Algorithm Hash digest
SHA256 9793440410239e56d193edfc97ee32d34178a77e10797ec1964710a9e755fe71
MD5 69fa70eed8335fdd3b89c2302c099364
BLAKE2b-256 c543e5461b9f0635dd6b2d640125afcf23ee32d4d42015ab581fe3ed8244b0be

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