Flask_runner

screenshot of Flask_runner

Flask project template for large applications.

Overview:

Flask Runner is a Flask project template designed for developers working on large applications who want to modularize their code using Flask Blueprints. It is a Cookiecutter template, which means it can be used to generate projects using Python Cookiecutter. This template is based on Eve Runner Version-5.0.2.

Features:

  • Minimal setup with a factory-based application structure.
  • Blueprints are automatically registered.
  • Separate configurations for development and production applications.
  • Option to use Gunicorn as a server for both development and production.
  • Option to use Eventlet worker with Gunicorn for implementing asynchronous apps.
  • Preconfigured with Flask-SQLAlchemy and Flask-Migrate for working with SQLAlchemy.
  • Easy Makefile syntax for running, testing, and migrating the application and its databases.
  • Automatically loads SQLAlchemy models on application startup.
  • Provides a declarative Base class for use in SQLAlchemy models.
  • Option to use uWSGI with different config files for development and production.
  • uWSGI is configured to use Gevent and Websockets by default.
  • Convenient command line application running options.

Summary:

Flask Runner is a Flask project template that provides a minimal setup and easy configuration for modularizing large applications using Flask Blueprints. It offers features such as automatic Blueprint registration, separate configurations for development and production, support for Gunicorn and uWSGI servers, and preconfigured integration with SQLAlchemy. The template also provides convenient command line options for running, testing, and migrating the application. To use Flask Runner, install the Cookiecutter package, create a project using the template, and choose the appropriate command to run the application.