Code for simulation of SN Ia using sncosmo Installation In the setup.py directory use: >python -m pip install . Documentation The documentation is here.