6. Code access#
Python package#
The model is available as an installable python package from PyPi: https://pypi.org/project/treat-sim/
pip install treat_sim
Up-to-date and archived code#
The simulation model code for the package is available from the main branch of Githib repo: pythonhealthdatascience/stars-treat-sim
The documentation and code contained within this book is archived at Zenodo: https://zenodo.org/records/11102373
Web application#
The model can also be run via a web application available on streamlit community cloud. Please note that if the app has not been run for a few days then it will need to be “woken up”. This may take a couple of minutes.