2. Rachel Sanders
Engineer at LinkedIn & PyLadiesSF organizer
Our internal stack: Python + Flask
Team lead for a 30K LOC Flask app
3. What we talkin’ about
The really really really quick intro to Flask
The really really quick intro to extending Flask
Flask-FeatureFlags: a case study
Beyond the Basics
Questions
7. “The idea of Flask is to build a
good foundation for all applications.
Everything else is up to you or extensions.”
-- Armin Ronacher, creator of Flask
8. All these are extensions
database SQLAlchemy + Flask-SQLAlchemy
forms WTForms + FlaskWTF
admin Flask-Admin
13. You can change the app object by
Hooking into request lifecycle
Adding more resources
Jinja
filters, tests, global variables
Routes, blueprints, static files
Middleware
Monkeypatching
42. ok so what’d we learn?
use init_app because app factories
be sure to set config defaults
calling Flask hooks
0.10+ is a trap
how to get to our extension later