Sometimes the right tool is the small one. Flask turns a script into an endpoint.
I had a script that worked. All I needed was to call it over the web. My instinct was to reach for the big framework, and it was overkill. The right-sized lesson: Flask — a tiny server that wraps a function in a URL with a dozen lines.
I tested the smallest thing that could work: a minimal Flask app exposing the script as one endpoint, plus the requirements to run it.
The tiny server. Minutes to a working URL, nothing to maintain that I didn't understand.
Over-building. The full framework would have been weeks of machinery around a fifteen-line need.
Match the tool to the need, not to the trend. A script that needs a URL needs Flask, not a platform.