Flask

All things Flask ranging from core framework to all conceivable libraries. Tips on how to utilize Flask’s flexibility to create expressive applications.
Serving Frontend Assets in Flask

Serving Frontend Assets in Flask

When Python developers manage presentation layers.

If you're familiar with Django (or Python to any extent), you've probably accepted the concept of what Python guys refer to as "static assets." Let's take a moment to consider this: at some point in Django's conception a design decision was made: all JavaScript, CSS, or any assets pertaining to the presentation layer belong tucked away into an isolated corner

Flask Todd Birchard avatarTodd Birchard Todd Birchard avatar
toddFeb 23
Jul 23
Read
Powerful Page Templates in Flask With Jinja

Powerful Page Templates in Flask With Jinja

Work with markup that writes itself with Flask's Jinja library.

So you want to build a web application in Python, eh? Hasn't anybody told you... Python is SLOW! Python is subject to CONTEXT SWITCHING! Oh, the HORROR!

Chances are most of these people aren't well-versed in Python at all. I enjoy creating web applications in Flask more-so than I do in Node. Even if we were to put aside somehow

Flask Todd Birchard avatarTodd Birchard Todd Birchard avatar
toddFeb 23
Jul 20
Read
Creating Your First Flask Application

Creating Your First Flask Application

After achieving market dominance, Flask is a Python framework impossible to avoid.

Evidence of Flask’s rise to power has been all around us for a couple of years now. Anybody paying close attention to the technology stacks chosen by startups has undoubtedly noticed a flip: at some point, the industry standard flipped away from Django entirely.

Huge bets are being placed on Flask across the industry. Plotly’s famous Dash product

Flask Todd Birchard avatarTodd Birchard Todd Birchard avatar
toddFeb 23
Jul 08
Read
Starting a Python Web App with Heroku

Starting a Python Web App with Heroku

Pairing Flask with zero-effort container deployments is a deadly path to addiction.

It's difficult to cover every cloud solution on the market without at least mentioning Heroku. Heroku contrasts nearly every cloud hosting solution by offering a clear purpose: make deploying apps of any kind as easy as possible. Deploying to a VPS requires knowledge of web servers and configurations. Deploying to containers requires knowledge of Docker or Kubernetes. Deploying to Heroku

Flask Todd Birchard avatarTodd Birchard Todd Birchard avatar
toddFeb 23
Feb 13
Read