Build Simulation Web Apps in Python: SimPy + Streamlit Deployment Masterclass (GitHub Template)

Pubblicato il: 31 gennaio 2025
sul canale di: TheOpenScienceNerd
2,188
46

Learn how to transform your SimPy discrete-event simulation model into a deployable web app using Streamlit in this Python tutorial. This step-by-step guide covers building an interactive dashboard with adjustable parameters (e.g resources, arrival rates), running batch experiments via CSV templates, and visualizing results with Plotly histograms. Discover professional deployment techniques to Streamlit Community Cloud, including license integration and UI optimization with sidebars, expanders, and real-time feedback. The video demonstrates practical implementation of a healthcare call center simulation case study, complete with open-access GitHub code repository and peer-reviewed methodology from NIHR Open Research. Perfect for simulation engineers and Python developers looking to create shareable, production-ready analytics tools.

Don't forget to like, comment, and subscribe!    / @theopensciencenerd  

👏 Thanks goes to the fantastic team at streamlit!

INTRODUCTION TO DISCRETE EVENT SIMULATION IN PYTHON COURSE PLAYLIST
--------------------------:------
Discrete-event simulation in Python! This series will teach you how to code a DES model in Python, numpy, SimPy and streamlit.
🔗    • Code your first discrete-event simulation ...  

🌍 LINKS:
-------------------------------------------------
🔗 Peer reviewed journal article: https://openresearch.nihr.ac.uk/artic...
🔗 Github: https://github.com/TheOpenScienceNerd...
🔗 The app on streamlit cloud: https://osnerd-simpy.streamlit.app
🔗 Streamlit docs: https://docs.streamlit.io/

👏 Thanks goes to the awesome SimPy team! In the video I am using SimPy 4.1.1

☕ Buy me a coffee
If you want to support the channel, you can buy me a coffee here:
☕ https://buymeacoffee.com/theopenscien...

⏳ Timestamps ⏳
-------------------------------------------------

0:00 - Aims
2:19 - GitHub
2:47 - Environment setup
3:16 - SimPy model overview
3:48 - Running the base model in Python
7:00 - Basic streamlit app
9:57 - Interactive model parameters
11:42 - How streamlit works
13:06 - Run button
13:48 - Results tables
14:28 - Interactive results
17:18 - Sidebar controls
17:58 - User feedback and tidy up
19:40 - Page config
20:36 - Multi-page apps
21:16 - Uploading and running batches of experiments
26:03 - App landing page
27:28 - Page icons
28:00 - License page
28:37 - About page
29:50 - Deployment
31:45 - Mobile
32:07 - Next steps

#PythonSimulation #SimPy #Streamlit #DiscreteEventSimulation #WebAppDevelopment #BatchExperiments #Plotly #CloudDeployment #SimulationEngineering #PythonTutorial #BuildSimulationDashboards #SimPyToWebApp #GitHubTemplate #OpenSourceTools


In questa pagina del sito puoi guardare il video online Build Simulation Web Apps in Python: SimPy + Streamlit Deployment Masterclass (GitHub Template) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato TheOpenScienceNerd 31 gennaio 2025, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,188 volte e gli è piaciuto 46 spettatori. Buona visione!