💫 Please note that this work has been merged into the Sharing Tools and Artifacts for Reproducible Simulations (STARS) in healthcare project. A more up-to-date example of this app is available: https://github.com/pythonhealthdatascience/stars-streamlit-example 💫
The code in this repo occompanies the conference paper:
Monks, T. and Harper. A, (2023) A framework to share healthcare simulations on the web using free and open source tools and python
The code focusses on the Streamlit deployment of the model.
A preprint is being prepared. Methods, and Results are regularly updated in our online Jupyter Book https://tommonks.github.io/treatment-centre-sim
The overarching aim of our study is to identify robust ways that python discrete-event simulation models can be shared with other health researchers and NHS care providers.
Specific objectives of the study that this code supports are:
- Outline a straightforward framework for deploying a simulation developed in Python on the web for users of varying technical skills;
- Provide an applied simulation example implementing our framework;
- Provide guidance for modellers to begin haring models built using FOSS via the web.
This code is part of independent research supported by the National Institute for Health Research Applied Research Collaboration South West Peninsula. The views expressed in this publication are those of the author(s) and not necessarily those of the National Institute for Health Research or the Department of Health and Social Care.
@software{monks_thomas_2022_6860711,
author = {Monks, Thomas and
Harper, Alison},
title = {TomMonks/treat\_sim\_streamlit: v1.0.0},
month = jul,
year = 2022,
publisher = {Zenodo},
version = {v1.0.0},
doi = {10.5281/zenodo.6860711},
url = {https://doi.org/10.5281/zenodo.6860711}
}
All dependencies can be found in binder/environment.yml
and are pulled from conda-forge. To run the code locally, we recommend install mini-conda; navigating your terminal (or cmd prompt) to the directory containing the repo and issuing the following command:
conda env create -f binder/environment.yml
A containerised version of the model is available from Dockerhub. Follow the link and the instructions provided. Note tht you will need docker installed in order to pull and run the container.