Flask Muck

screenshot of Flask Muck
flask

Flask REST framework for generating CRUD APIs and OpenAPI specs in the SQLAlchemy, Marshmallow/Pydantic application stack.

Overview:

Flask-Muck is a declarative framework designed to streamline the development process of RESTful APIs with CRUD endpoints in Flask, SqlAlchemy, and Marshmallow/Pydantic application stack. The framework offers a modular approach to automatically generate CRUD endpoints, supports search, filter, sort, and pagination functionalities, and allows for the integration of pre and post callbacks for manipulation endpoints. Flask-Muck is fully compatible with various Flask views and provides support for schema definitions using Marshmallow and Pydantic.

Features:

  • Declarative Approach: Automates the generation of CRUD endpoints.
  • Search, Filter, Sort, Pagination: Built-in functionalities for listing resources.
  • Support for Nested Resources: Handles APIs with nested resources effectively.
  • Compatibility: Works seamlessly with other Flask views, allowing for mix & match.
  • Pre and Post Callbacks: Configurable for adding custom logic before and after CRUD operations.
  • Schema Support: Utilizes Marshmallow and Pydantic for schema definitions.
  • OpenAPI Generation: Dynamically generates OpenAPI specification and Swagger UI.

Summary:

flask
Flask

Flask is a lightweight and popular web framework for Python, known for its simplicity and flexibility. It is widely used to build web applications, providing a minimalistic approach to web development with features like routing, templates, and support for extensions.