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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiojsonapi-0.3.1616197910.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 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.1616197910.tar.gz
Algorithm Hash digest
SHA256 a12ecae743c816845780c9668254b81da6a0ba2bf87090f8c8cf7a044c61c06c
MD5 4ed91c74ddc50ddc8827b8fc336de651
BLAKE2b-256 307fed8a0e4e1dd16ef7a961687c67f01c01a359eb9daf8247e5ae315d963716

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiojsonapi-0.3.1616197910-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.7.3 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.1616197910-py3-none-any.whl
Algorithm Hash digest
SHA256 3610ea308cab65838beb82ba1765eafc2f4e06b3bea0dcb837e17dbcbbf4f5a6
MD5 ec9e81c25b7bf5053b88a57094868446
BLAKE2b-256 0ae5fdeb735141eb403b083476a99e3367a6ba989d24e5c5b051287daa119adf

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