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

Uploaded Source

Built Distribution

aiojsonapi-0.3.1617411765-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiojsonapi-0.3.1617411765.tar.gz
  • Upload date:
  • Size: 5.5 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.3

File hashes

Hashes for aiojsonapi-0.3.1617411765.tar.gz
Algorithm Hash digest
SHA256 450acb1cdd51d69c703984053ad17f76ccc1f81f964b4384269ff71b7c72f3cd
MD5 eaf07488c21df6ac6a97002397e44f23
BLAKE2b-256 7f473e4bc779065c66ae2e3a352db8a5ec5791d7f16848eb39174b07a8957b99

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiojsonapi-0.3.1617411765-py3-none-any.whl
  • Upload date:
  • Size: 8.3 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.3

File hashes

Hashes for aiojsonapi-0.3.1617411765-py3-none-any.whl
Algorithm Hash digest
SHA256 6da07f9907a7c885ccbde404cce0f23e41a6ae69e320bd1e15f4bcc0b52699de
MD5 2e9cf4c770fe356ed07ee0598cf3762b
BLAKE2b-256 5c52d75bab0208e8d8de2ec10d349aea7f0e5ef12a83636f90941a5a273b495e

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