Stellar Population Synthesis

I am not an expert of this. I came across the slug package, which might be useful. The code can be obtained here, while the journal paper can be downloaded here.