Skip to main content

A request parameter checking and parsing library based on pydantic under the sanic framework

Project description

sanic-parsedargs

sanic-parsedargs is a request parameter checking and parsing library based on pydantic under the sanic framework

sanic-parsedargs is a request parameter checking and parsing library based on pydantic under the sanic framework

It is based on pydantic, which can facilitate developers to quickly check and obtain request parameters

Installation

pip install sanic-dantic

Usage

Before writing all the examples, let's write a server.py first. In all examples, we will focus on the use of views and no longer write extraneous peripheral code.


Thanks

License

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

sanic-dantic-1.0.2.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file sanic-dantic-1.0.2.tar.gz.

File metadata

  • Download URL: sanic-dantic-1.0.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6rc1

File hashes

Hashes for sanic-dantic-1.0.2.tar.gz
Algorithm Hash digest
SHA256 2a5ef1539f5218072723ffc3b497a068fc6b3749c0a4e3331225bab5df494e99
MD5 02b48711130ddccb6f3c1a4a87c04d12
BLAKE2b-256 f0a1c51ad536b81568b15941d201d8abb6a210c9ae3b9ead4633c5a1bc970cd2

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