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.

Files for Flask-Unchained, version 0.5.1
Filename, size File type Python version Upload date Hashes
Filename, size Flask_Unchained-0.5.1-py3-none-any.whl (219.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size Flask Unchained-0.5.1.tar.gz (142.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page