A lightweight Python web API framework based on Flask

APIFlask

APIFlask is a lightweight Python web API framework based on Flask and marshmallow-code projects. It’s easy to use, highly customizable, and 100% compatible with the Flask ecosystem. It starts as a fork of APIFairy and is inspired by FastAPI (see Comparison and Motivations for the comparison between these projects).

  • More sugars for view function (@input(), @output(), @app.get(), @app.post() and more)
  • Automatic request validation and deserialization (with Webargs)
  • Automatic response formatting and serialization (with Marshmallow)
  • Automatic OpenAPI Specification (OAS, formerly Swagger Specification) document generation (with APISpec)
  • Automatic interactive API documentation (with Swagger UI and Redoc)
  • API authentication support (with Flask-HTTPAuth)
  • Automatic JSON response for HTTP errors

Currently this project is in active development stage, bugs and breaking changes are expected. Welcome to

 

 

 

To finish reading, please visit source site