{"id":25180401,"url":"https://github.com/marcpinet/epidemic-modeling","last_synced_at":"2025-10-08T19:01:44.203Z","repository":{"id":45402723,"uuid":"420405157","full_name":"marcpinet/epidemic-modeling","owner":"marcpinet","description":"🦠 Python script that simulates a pandemic using moving dots with tweakable parameters and then generates a graph according to obtained values. Made as part of a school project.","archived":false,"fork":false,"pushed_at":"2025-02-01T19:52:19.000Z","size":138,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T06:04:39.547Z","etag":null,"topics":["animation","epidemic-model","epidemic-simulations","matplotlib-pyplot","modeling","pyqt5","python"],"latest_commit_sha":null,"homepage":"https://marcpinet.me","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcpinet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-10-23T12:23:34.000Z","updated_at":"2025-02-01T19:52:22.000Z","dependencies_parsed_at":"2025-02-01T20:35:23.434Z","dependency_job_id":null,"html_url":"https://github.com/marcpinet/epidemic-modeling","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marcpinet/epidemic-modeling","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcpinet%2Fepidemic-modeling","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcpinet%2Fepidemic-modeling/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcpinet%2Fepidemic-modeling/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcpinet%2Fepidemic-modeling/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcpinet","download_url":"https://codeload.github.com/marcpinet/epidemic-modeling/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcpinet%2Fepidemic-modeling/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272160241,"owners_count":24883779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","epidemic-model","epidemic-simulations","matplotlib-pyplot","modeling","pyqt5","python"],"created_at":"2025-02-09T16:18:00.268Z","updated_at":"2025-10-08T19:01:39.170Z","avatar_url":"https://github.com/marcpinet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Epidemic Modeling\n\n🧬 Tweak transmission rate, recovery rate, death rate, number of people, and many more! 🧬\n\n⚙️ Graphical User Interface with sliders and buttons. ⚙️\n\n👁️ Visual and graphical interpretation of results from the simulation 👁️\n\n🔬 Randomized simulation 🔬\n\n🧫 Inspired by [SEIDR Model](https://en.wikipedia.org/wiki/Compartmental_models_in_epidemiology) 🧫\n\n## Features\n\n* Every parameters of the simulation is editable through an interactive GUI 🖥\n* Humans are travelling randomly but logically and are represented by dots 👦\n* Humans can wear a mask and mask are 80% effective 🧢\n* Humans wearing a mask are represented by a \"+\" and do not easily infect as well as being harder to infect ⛑️\n* The simulation is almost fully randomized but keeps logic with given values 🎲\n* You can adjust the speed of the simulation with the slider 🏃\n* You can tweak some specific parameters of the simulation 🧰\n* At the end of the simulation, you can see the evolution of the population through time 📊\n* ... and many more! 🎯\n\n## Demo\n\n### One wave of the epidemic was simulated\n\nhttps://user-images.githubusercontent.com/52708150/146844598-e74a4185-b21d-40bf-9046-5e6e4423ef77.mp4\n\n### Three waves of the epidemic were simulated\n\nhttps://user-images.githubusercontent.com/52708150/146844606-71d78f0f-11e3-47e2-8330-953a9d3600f4.mp4\n\n### Masked dots example\n\nhttps://user-images.githubusercontent.com/52708150/146844600-05ff0eda-c5c0-4466-9e31-b50abf161229.mp4\n\n### Support 👨‍💻\n\nAny problems with running the script and any questions please create a new issue [here](https://github.com/marcpinet/epidemic-modeling/issues/new?assignees=\u0026labels=\u0026template=bug_report.md\u0026title=).\n\nYou can also contribute to this project by requesting new features [here](https://github.com/marcpinet/epidemic-modeling/new?assignees=\u0026labels=\u0026template=feature_request.md\u0026title=).\n\nI never ask for money for my open source projects. However, you can still tip me if you want.\nI am a [Brave Verified Creator](https://i.imgur.com/fOUfdM5.png)!\n\n### Prerequisites\n\n* Python 3.7.0+\n\nGet a copy of the Project. Assuming you have git installed, open your Terminal and enter:\n\n```bash\ngit clone 'https://github.com/marcpinet/epidemic-modeling.git'\n```\n\nTo install all needed requirements run the following command in the project directory:\n\n```bash\npip install -r requirements.txt\n```\n\n## Running 🏃\n\nAfter that you can proceed to start the program by running `main.py`.\n\n## Authors\n\n* **Marc Pinet** - *Initial work* - [marcpinet](https://github.com/marcpinet)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n\n## Acknowledgments\n\n* Hat tip to anyone whose code was used.\n\n## Contributions\n\nSpecial thanks to [loicpantano](https://github.com/loicpantano) for some ideas and [marcusaasjensen](https://github.com/marcusaasjensen) for its participation in the project (he made a its own simulation in C# of an airport with graphs, see [marcus' simulation](https://github.com/marcusaasjensenunice/covid-simulation)).\n\nWe were in the same team for this project and we worked together on different programs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcpinet%2Fepidemic-modeling","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcpinet%2Fepidemic-modeling","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcpinet%2Fepidemic-modeling/lists"}