{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/dypy-a-python-library-for-simulating-matrix","title":"DyPy: A Python Library for Simulating Matrix-Form Games","arxiv_id":"2007.13815","date":"2020-07-27","proceeding":null,"authors":["Anjalika Nande","Andrew Ferdowsian","Eric Lubin","Erez Yoeli","Martin Nowak"],"abstract":"Evolutionary Game Theory (EGT) simulations are used to model populations undergoing biological and cultural evolution in a range of fields, from biology to economics to linguistics. In this paper we present DyPy, an open source Python package that can perform evolutionary simulations for any matrix form game for three common evolutionary dynamics: Moran, Wright-Fisher and Replicator. We discuss the basic components of this package and illustrate how it can be used to run a variety of simulations. Our package allows a user to run such simulations fairly easily without much prior Python knowledge. We hope that this will be a great asset to researchers in a number of different fields.","url_abs":"http://arxiv.org/abs/2007.13815v1","url_pdf":"http://arxiv.org/pdf/2007.13815v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"dypy-a-python-library-for-simulating-matrix","repo_url":"https://github.com/anjalika-nande/dynamics_sim","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}