Why can't FLASK_APP find my factory function?

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

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

    The Python micro framework for building web applications.

    export FLASK_APP=wsgi.pyflask run However, if I try to point Flask directly at the factory in the installed package, I getRuntimeError: Failed to find application in module "example.factory". I found this pattern in the examples in the Flask repository.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

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