1 hour ago · Tech · 0 comments

With my Flask Share app, it was time to consider re-working this into something more production-like. Flask serves the purpose for my needs but Flask is not really a production tool. There is the massive red warning: WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. There are alternative prod-ready web frameworks for Python, but my thinking is that they are all dependencies, in a sense. I’m a huge fan of stdlib and maybe because of this, Python is not really the right tool for the job here. It is quite possible to re-write the Flask Share app using only stdlib but that will be…wordy. Why do that? When Flask handles all the web stuff so elegantly? I was reading around on what else I can use in place of Flask and came across a lively discussion somewhere. The OP complained about the loss of cgi in Python 3.13 and how they had to rewrite a chunk of their code when they upgraded. Someone chimed in that perhaps Python was…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.