flask-smorest: Flask/Marshmallow-based REST API framework

Release v0.44.0. (Changelog)

Sponsor Message

Input an OpenAPI spec to generate API docs that look as good as Stripe’s. Request a preview of your docs on Fern.

Fern logo

flask-smorest (formerly known as flask-rest-api) is a database-agnostic framework library for creating REST APIs.

It uses Flask as a webserver, and marshmallow to serialize and deserialize data. It relies extensively on the marshmallow ecosystem, using webargs to get arguments from requests, and apispec to generate an OpenAPI specification file as automatically as possible.

Install

$ pip install flask-smorest

Guide

API Reference

Project Info