Python, Flask, uWSGI, and Docker is my main tech stack for most of the fiddling I do.
What projects are you working on that utilize the Flask framework?
I always develop my simple dynamic websites using flask, e.g. a website to check historic border wait times. The public data only includes highways, but in the background I also have the smaller border stations. At the moment it’s only between Germany, Austria, Slovenia, Croatia, Serbia, Hungary and Bosnia and Herzegovina, but I might extend it to other European countries.
I started to develop this when one time there were traffic jams of approx. 3 hours at the border on my route (plus additional wait times at toll stations). There are websites where you can check the current wait time at border crossings, but I did not find any service that would display the historic data. And my idea was that with historic data I can find out at what time I should try to arrive at the border (e.g. is Friday at 10pm better than Saturday at 8am?).
Apart from this I used to have a cronjob/service monitoring application that I had developed with flask. It was similar to Pingdom or healthchecks.io (actually both use cases combined in one), but I switched to Prometheus and thus took the website down.
Update: Just saw the word “recently” in the title. Recently in my case means somewhen in 2019.
For the past ~6 years I’ve been working on Redash, which uses Flask. I actually started with Tornado but eventually migrated to Flask.
I moved from Flask to Sanic so that I wouldn’t need to think about a wsgi server and because I like the explicitly passed request style.
And now I use Julia instead, so last time I had cause I used Mux :)
I don’t do anything fancy; just restful APIs for things.
I’ve been working on building a improved version of social bookmarking sites like pinboard/delicious. Most of the code is done with Flask.
I love pinboard (and loved delicious) but I wanted to fix a few problems like:
An even booking system and a mini LIMS app for managing/tracking samples and sequencing data.
It’s still my default tool if I need a quick REST mockup for something that is done, but my current day job doesn’t have me building (new) web apps anymore and for private projects I tend to not use Flask, or python at all.
Bit of a shame, it has served me well in the past years.
I’ve been working on an email forwarder service https://github.com/simple-login/app. It uses a rather standard Flask stack: sqlalchemy for ORM, alembic for database migration, flask-login for authentication, etc.
Have/are any of you used/using async-await with Flask, or Quart?
(I’m the Quart author)
Not yet, but it certainly is on my list.
As someone without a formal computer science background, async programming has taken me a little bit of time to wrap my head around. I’ve definitely looked at Quart though and gotten a hello world running, just haven’t spend any meaningful time with it yet.
2020 has a long list of goals and having a meaningful grasp of asyncio is on that list :)
I’m building Developer to Manager using Flask.
The development process works just like any other Flask app. For deployment though, I’ve chosen to use Frozen-Flask to compile the application to a static site, so what you see on the site is actually just a bunch of HTML files.
I wrote about this setup here at length in case anyone is interested in reading more!
Exactly the kind of post I was hoping to find in the comments here. Thank you, will give the setup a read!
Last year, I worked on an online medical reservation platform built from scratch with Flask, for a client. Unfortunately, the project did not succeed commercially. The technical side was moderately complex and I think I could save some time if I was using Django, but Flask did very well and it was fun.