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

Uploaded Source

Built Distribution

aiojsonapi-0.3.1617408026-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiojsonapi-0.3.1617408026.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for aiojsonapi-0.3.1617408026.tar.gz
Algorithm Hash digest
SHA256 252c96475fbbb752cefaeea82c1557acad848fcfad4e9153e9d36599d445104a
MD5 4675a840eb59bbbd3158dc72b3a14d62
BLAKE2b-256 1b48ebe62c233109c845b2d4a51e00d2641d34bf7587349c93e9e32a1b85a268

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiojsonapi-0.3.1617408026-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for aiojsonapi-0.3.1617408026-py3-none-any.whl
Algorithm Hash digest
SHA256 0970701bf9b06fd4290002f8cc9ed136290c018609bf242516c6515716ae6a74
MD5 55b2b858041ac4c1426299fdbd75540a
BLAKE2b-256 b32071ef1cc09fd01a59fb2691c7593ad063b1f12d7a2eb62660edc1032d6efe

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