Repeatedly typing export FLASK_ENV=development and export FLASK_APP=hello.py before running flask

This page summarizes the projects mentioned and recommended in the original post on /r/flask

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • flask_for_startups

    Flask boilerplate using a services oriented structure

    Example of .flaskenv Example of config file

  • Autoenv

    Directory-based environments.

    But IMO the best solution by far is to use autoenv. There is autoenv for bash and autoenv for zsh.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • asdf

    Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more

    Another great tool is asdf. This allows you to install different versions of various programs, and select the right one when entering into a directory. It supports many things, like python, nodejs, terraform, terragrunt.

  • zsh-autoenv

    Autoenv for zsh

    But IMO the best solution by far is to use autoenv. There is autoenv for bash and autoenv for zsh.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts