projectmesa / mesa

Mesa is an open-source Python library for agent-based modeling, ideal for simulating complex systems and exploring emergent behaviors.
https://mesa.readthedocs.io
Apache License 2.0
2.52k stars 883 forks source link

jupyterviz: best practices for model layout #1913

Closed rlskoeser closed 2 weeks ago

rlskoeser commented 11 months ago

current best practices documentation for mesa recommends model layout with model.py, server.py and run.py . Is there a recommendation for models using jupyterviz? Would you recommend only creating model.py and app.py ?

rht commented 10 months ago

Prior discussion: #1269. I suppose that there are 2 conventions until the experimental JupyterViz has become sufficiently stable.

EwoutH commented 2 months ago

We should probably do this, and then also update our recommended model layout.

Including that coockiecutter thing and/or (?) that thing in mesa-examples that generates a template for you.

quaquel commented 2 weeks ago

cookiecutter is gone and best practices is updated. all examples on read the docs follow this structure.