Flask Template

screenshot of Flask Template

Flask template for new projects

Overview

Flask-PyPI Portal is a small demo app that serves as an example of a potentially large Flask application with multiple views and Celery tasks. The project's README explains the design choices and structure of the app.

Features

  • Tests are written using pytest.
  • Celery is used to support tasks/scripts/jobs.
  • Unhandled exceptions raised in views or Celery tasks are emailed to the user from the production instance. The email is styled similarly to exceptions shown in development environments but without the interactive console.
  • Message flashing is "powered by" Bootstrap Growl. Bootstrap Modals and Wells are also used as flashed message containers.

Summary

Flask-PyPI Portal is a demo app that demonstrates the design choices and structure of a potentially large Flask application. It showcases features such as test writing, Celery support, email notifications for unhandled exceptions, and Bootstrap integration for message flashing. The project's README provides detailed explanations and examples of these features.