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 hashes)

Uploaded Source

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