Python code to extract IMF constraints from resolved photometry of galaxies or star clusters.