A tiny script to explore package sizes in Anaconda

Today at work, I was trying to reduce the size of a container image and I wanted to check what’s in some conda environments, especially what packages are taking up all that sweet storage (looking at you Tensorflow). I thought, surely conda has a way to show me the packages and their sizes in general and not just when I install them? But it seems that it doesn’t, so I hacked together something silly with the help of the coreutils and awk....