Mindful Memory

Apr 20, 2021
#Python #debug

Every wonder how much memory your Python scripts are consuming? Look no further than getsizeof and tracemalloc found in the Python Standard Library.

List Comprehensions

Mar 30, 2021
#Python #data structures

Why you should start using list comprehensions in your Python code, a brief look at a feature of lists you might have overlooked.

Python Packaging

Nov 23, 2020
#Python #packaging #Setuptools #Zipapp

Python packaging is confusing. A brief history of Python packaging is explored, followed by an in depth look at modern Python packaging tooling.

Gunicorn and Flask

Sep 9, 2020
#containers #Flask #web server #Gunicorn #Python

A step-by-step tutorial on how to to use containers to deploy a Flask web application with the WSGI HTTP server Gunicorn. A simple recipes application is deployed as an example.

Docker Build

Apr 9, 2020
#containers #python #docker

The third post in a multi-part container series. How to build and mange your own images in Docker with docker build.