Skip to main content

The better way to build large Flask applications

Project description

# Flask Unchained

## The better way to build large Flask applications.

Flask Unchained is an extension that implements the Application Factory Pattern. It provides a standardized (by convention) way to organize “bundles” of code, such that they become easily distributable, reusable, and customizable across multiple independent Flask Unchained projects (similar to Django’s “apps”, with an architecture inspired by [Symfony](https://symfony.com/). The ultimate goal is to provide an integrated, optional-batteries-included web application framework built on top of Flask.

Currently Flask Unchained includes the following bundles:

  • Admin Bundle
  • API Bundle
    • extends the Controller Bundle with support for ModelResource controllers integrated with SQLAlchemy and Marshmallow

    • includes optional support generating API docs via APISpec/OpenAPI (using ReDoc as the frontend)

  • Babel Bundle
  • Celery Bundle
  • Controller Bundle
    • auto-discovers blueprints, controllers, and views across bundles

    • support for declarative routing (similar to Django’s urls.py)

    • (think of it as the best ideas from Flask-RESTful, Flask-Classful, Flask’s MethodView, and Flask-Via - all combined into one coherent solution)

  • Mail Bundle
  • Security Bundle
  • Session Bundle
  • SQLAlchemy Bundle
    • integrates Flask-SQLAlchemy and Flask-Migrate

    • auto-discovers models across bundles

    • adds support for performing validation on models (including integration with Flask-WTF and Marshmallow, so that validation rules can be as DRY as possible)

  • Webpack Bundle
    • integrates Webpack

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

Flask Unchained-0.5.1.tar.gz (142.2 kB view hashes)

Uploaded Source

Built Distribution

Flask_Unchained-0.5.1-py3-none-any.whl (219.1 kB view hashes)

Uploaded Python 3

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