Hackers and Slackers

Structuring your Flask App Like an Adult

Leverage Blueprints, Flask-Assets, and the Application Factory.

When we first started developing in Flask, most of us took the 5 lines of code in the quick-start guide and ran with it. Compared to every other web framework, getting a "Hello world" to flash on screen without being

Flask Author imageTodd Birchard Author imagetodd Oct 15
Read

Extract Nested Data From Complex JSON

The Pythonic way of working with JSON objects

We're all data people here, so you already know the scenario: it happens perhaps once a day, perhaps 5, or even more. There's an API you're working with, and it's great. It contains all the information you're looking for, but

Python Author imageTodd Birchard Author imagetodd Oct 10
Read

Compile JavaScript with Babel and Gulp

Using ECMAScript functions on the frontend the quick and dirty way.

As you may have already deduced from the occasional glaring holes in my programming knowledge, I haven’t spent as much of my life programming than, well, anybody who haphazardly threw away an 8-year product management career. Apparently, a lot

Javascript Author imageTodd Birchard Author imagetodd Oct 06
Read