Skip to main content

Python Boilerplate contains all the boilerplate you need to create a Python package.

Project description

paraer

https://img.shields.io/pypi/v/paraer.svg https://img.shields.io/travis/drinksober/paraer.svg Documentation Status Updates

Python Boilerplate contains all the boilerplate you need to create a Python package.

Features

  • 支持api参数校验,并且当多个参数输入不合法时,会收集多个参数的校验后的提示信息一并返回,而不是当有一个参数非法时立即返回

  • 支持api导出为markdown文档,可通过pandoc转为其他格式

  • 支持通过api直接生成swagger文档,完美对接django-restframework-swagger

  • 支持根据ViewSet或者APIView中定义的serializer_class自动生成swagger的http code为200时的返回格式

  • 支持ViewSet中的list方法自动生成分页参数

  • 支持当参数为枚举值时,在description中定义枚举值的choices,可以自动生成swagger的表格

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2018-05-07)

  • First release on PyPI.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hypersParaer-2.4.32.tar.gz (27.6 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