You can find the Jupyter notebook for this post here.