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.1595805233.tar.gz (4.6 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.1595805233-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiojson-0.3.1595805233.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for aiojson-0.3.1595805233.tar.gz
Algorithm Hash digest
SHA256 1eff3f036c3f056a45c457b8f483b52f01ec5ef8bc2284d2328747acf912fc43
MD5 2eab016377cede98b53b0d9f3865f241
BLAKE2b-256 441b34a93bcb8d2f11c457a8e29078603dcfa85260a5f401e11294e6196f7299

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiojson-0.3.1595805233-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for aiojson-0.3.1595805233-py3-none-any.whl
Algorithm Hash digest
SHA256 62fb83ea13b47b9234e9f4631d8a4cef00a7e948789b1d289d35d42b10b36973
MD5 38c335df38a908ae9d69c77b6d4f9463
BLAKE2b-256 c27f1d8403f0ab7ede1e6749b18efaceaea0166a6d5397864c7d802d1c896649

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