Lattice Boltzmann methods are a popular mesoscopic alternative to classical computational fluid dynamics based on the macroscopic equations of continuum mechanics. Many variants lattice have been developed that vary in complexity, accuracy, and cost. Extensions available simulate multi-phase, multi-component, turbulent, non-Newtonian flows. In this work we present lbmpy, code generation package...