Mesa 2.3.3__tar.gz → 2.3.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of Mesa might be problematic. Click here for more details.

Files changed (141) hide show
  1. {mesa-2.3.3 → mesa-2.3.4}/HISTORY.md +31 -0
  2. {mesa-2.3.3 → mesa-2.3.4}/PKG-INFO +1 -1
  3. {mesa-2.3.3 → mesa-2.3.4}/docs/index.md +2 -2
  4. {mesa-2.3.3 → mesa-2.3.4}/docs/overview.md +5 -5
  5. {mesa-2.3.3 → mesa-2.3.4}/docs/tutorials/visualization_tutorial.ipynb +1 -1
  6. {mesa-2.3.3 → mesa-2.3.4}/mesa/__init__.py +1 -1
  7. {mesa-2.3.3 → mesa-2.3.4}/.codespellignore +0 -0
  8. {mesa-2.3.3 → mesa-2.3.4}/.coveragerc +0 -0
  9. {mesa-2.3.3 → mesa-2.3.4}/.github/ISSUE_TEMPLATE/asking-help.md +0 -0
  10. {mesa-2.3.3 → mesa-2.3.4}/.github/ISSUE_TEMPLATE/bug-report.md +0 -0
  11. {mesa-2.3.3 → mesa-2.3.4}/.github/ISSUE_TEMPLATE/feature-request.md +0 -0
  12. {mesa-2.3.3 → mesa-2.3.4}/.github/dependabot.yml +0 -0
  13. {mesa-2.3.3 → mesa-2.3.4}/.github/release.yml +0 -0
  14. {mesa-2.3.3 → mesa-2.3.4}/.github/workflows/benchmarks.yml +0 -0
  15. {mesa-2.3.3 → mesa-2.3.4}/.github/workflows/build_lint.yml +0 -0
  16. {mesa-2.3.3 → mesa-2.3.4}/.github/workflows/release.yml +0 -0
  17. {mesa-2.3.3 → mesa-2.3.4}/.gitignore +0 -0
  18. {mesa-2.3.3 → mesa-2.3.4}/.pre-commit-config.yaml +0 -0
  19. {mesa-2.3.3 → mesa-2.3.4}/.readthedocs.yml +0 -0
  20. {mesa-2.3.3 → mesa-2.3.4}/CITATION.bib +0 -0
  21. {mesa-2.3.3 → mesa-2.3.4}/CODE_OF_CONDUCT.md +0 -0
  22. {mesa-2.3.3 → mesa-2.3.4}/CONTRIBUTING.md +0 -0
  23. {mesa-2.3.3 → mesa-2.3.4}/Dockerfile +0 -0
  24. {mesa-2.3.3 → mesa-2.3.4}/LICENSE +0 -0
  25. {mesa-2.3.3 → mesa-2.3.4}/README.md +0 -0
  26. {mesa-2.3.3 → mesa-2.3.4}/benchmarks/Flocking/__init__.py +0 -0
  27. {mesa-2.3.3 → mesa-2.3.4}/benchmarks/Flocking/flocking.py +0 -0
  28. {mesa-2.3.3 → mesa-2.3.4}/benchmarks/Schelling/__init__.py +0 -0
  29. {mesa-2.3.3 → mesa-2.3.4}/benchmarks/Schelling/schelling.py +0 -0
  30. {mesa-2.3.3 → mesa-2.3.4}/benchmarks/WolfSheep/__init__.py +0 -0
  31. {mesa-2.3.3 → mesa-2.3.4}/benchmarks/WolfSheep/wolf_sheep.py +0 -0
  32. {mesa-2.3.3 → mesa-2.3.4}/benchmarks/compare_timings.py +0 -0
  33. {mesa-2.3.3 → mesa-2.3.4}/benchmarks/configurations.py +0 -0
  34. {mesa-2.3.3 → mesa-2.3.4}/benchmarks/global_benchmark.py +0 -0
  35. {mesa-2.3.3 → mesa-2.3.4}/codecov.yaml +0 -0
  36. {mesa-2.3.3 → mesa-2.3.4}/docker-compose.yml +0 -0
  37. {mesa-2.3.3 → mesa-2.3.4}/docs/Makefile +0 -0
  38. {mesa-2.3.3 → mesa-2.3.4}/docs/README.md +0 -0
  39. {mesa-2.3.3 → mesa-2.3.4}/docs/apis/api_main.md +0 -0
  40. {mesa-2.3.3 → mesa-2.3.4}/docs/apis/batchrunner.md +0 -0
  41. {mesa-2.3.3 → mesa-2.3.4}/docs/apis/datacollection.md +0 -0
  42. {mesa-2.3.3 → mesa-2.3.4}/docs/apis/experimental.md +0 -0
  43. {mesa-2.3.3 → mesa-2.3.4}/docs/apis/init.md +0 -0
  44. {mesa-2.3.3 → mesa-2.3.4}/docs/apis/space.md +0 -0
  45. {mesa-2.3.3 → mesa-2.3.4}/docs/apis/time.md +0 -0
  46. {mesa-2.3.3 → mesa-2.3.4}/docs/apis/visualization.md +0 -0
  47. {mesa-2.3.3 → mesa-2.3.4}/docs/best-practices.md +0 -0
  48. {mesa-2.3.3 → mesa-2.3.4}/docs/conf.py +0 -0
  49. {mesa-2.3.3 → mesa-2.3.4}/docs/howto.md +0 -0
  50. {mesa-2.3.3 → mesa-2.3.4}/docs/images/Mesa_Screenshot.png +0 -0
  51. {mesa-2.3.3 → mesa-2.3.4}/docs/images/mesa_logo.ico +0 -0
  52. {mesa-2.3.3 → mesa-2.3.4}/docs/images/mesa_logo.png +0 -0
  53. {mesa-2.3.3 → mesa-2.3.4}/docs/images/tutorial/br_ginis.png +0 -0
  54. {mesa-2.3.3 → mesa-2.3.4}/docs/images/tutorial/dc_endwealth.png +0 -0
  55. {mesa-2.3.3 → mesa-2.3.4}/docs/images/tutorial/dc_gini.png +0 -0
  56. {mesa-2.3.3 → mesa-2.3.4}/docs/images/tutorial/dc_oneagent.png +0 -0
  57. {mesa-2.3.3 → mesa-2.3.4}/docs/images/tutorial/first_hist.png +0 -0
  58. {mesa-2.3.3 → mesa-2.3.4}/docs/images/tutorial/multirun_hist.png +0 -0
  59. {mesa-2.3.3 → mesa-2.3.4}/docs/images/tutorial/numpy_grid.png +0 -0
  60. {mesa-2.3.3 → mesa-2.3.4}/docs/images/tutorial/viz_chart.png +0 -0
  61. {mesa-2.3.3 → mesa-2.3.4}/docs/images/tutorial/viz_empty.png +0 -0
  62. {mesa-2.3.3 → mesa-2.3.4}/docs/images/tutorial/viz_greycircles.png +0 -0
  63. {mesa-2.3.3 → mesa-2.3.4}/docs/images/tutorial/viz_histogram.png +0 -0
  64. {mesa-2.3.3 → mesa-2.3.4}/docs/images/tutorial/viz_redcircles.png +0 -0
  65. {mesa-2.3.3 → mesa-2.3.4}/docs/make.bat +0 -0
  66. {mesa-2.3.3 → mesa-2.3.4}/docs/mesa.md +0 -0
  67. {mesa-2.3.3 → mesa-2.3.4}/docs/mesa.visualization.md +0 -0
  68. {mesa-2.3.3 → mesa-2.3.4}/docs/mesa.visualization.modules.md +0 -0
  69. {mesa-2.3.3 → mesa-2.3.4}/docs/modular-visualization.md +0 -0
  70. {mesa-2.3.3 → mesa-2.3.4}/docs/packages.md +0 -0
  71. {mesa-2.3.3 → mesa-2.3.4}/docs/tutorials/MoneyModel.py +0 -0
  72. {mesa-2.3.3 → mesa-2.3.4}/docs/tutorials/adv_tutorial_legacy.ipynb +0 -0
  73. {mesa-2.3.3 → mesa-2.3.4}/docs/tutorials/files/viz_chart.png +0 -0
  74. {mesa-2.3.3 → mesa-2.3.4}/docs/tutorials/files/viz_empty.png +0 -0
  75. {mesa-2.3.3 → mesa-2.3.4}/docs/tutorials/files/viz_greycircles.png +0 -0
  76. {mesa-2.3.3 → mesa-2.3.4}/docs/tutorials/files/viz_histogram.png +0 -0
  77. {mesa-2.3.3 → mesa-2.3.4}/docs/tutorials/files/viz_redcircles.png +0 -0
  78. {mesa-2.3.3 → mesa-2.3.4}/docs/tutorials/files/viz_slider.png +0 -0
  79. {mesa-2.3.3 → mesa-2.3.4}/docs/tutorials/intro_tutorial.ipynb +0 -0
  80. {mesa-2.3.3 → mesa-2.3.4}/mesa/agent.py +0 -0
  81. {mesa-2.3.3 → mesa-2.3.4}/mesa/batchrunner.py +0 -0
  82. {mesa-2.3.3 → mesa-2.3.4}/mesa/cookiecutter-mesa/cookiecutter.json +0 -0
  83. {mesa-2.3.3 → mesa-2.3.4}/mesa/cookiecutter-mesa/hooks/post_gen_project.py +0 -0
  84. {mesa-2.3.3 → mesa-2.3.4}/mesa/cookiecutter-mesa/{{cookiecutter.snake}}/README.md +0 -0
  85. {mesa-2.3.3 → mesa-2.3.4}/mesa/cookiecutter-mesa/{{cookiecutter.snake}}/run.pytemplate +0 -0
  86. {mesa-2.3.3 → mesa-2.3.4}/mesa/cookiecutter-mesa/{{cookiecutter.snake}}/setup.pytemplate +0 -0
  87. {mesa-2.3.3 → mesa-2.3.4}/mesa/cookiecutter-mesa/{{cookiecutter.snake}}/{{cookiecutter.snake}}/__init__.py +0 -0
  88. {mesa-2.3.3 → mesa-2.3.4}/mesa/cookiecutter-mesa/{{cookiecutter.snake}}/{{cookiecutter.snake}}/model.pytemplate +0 -0
  89. {mesa-2.3.3 → mesa-2.3.4}/mesa/cookiecutter-mesa/{{cookiecutter.snake}}/{{cookiecutter.snake}}/server.pytemplate +0 -0
  90. {mesa-2.3.3 → mesa-2.3.4}/mesa/datacollection.py +0 -0
  91. {mesa-2.3.3 → mesa-2.3.4}/mesa/experimental/UserParam.py +0 -0
  92. {mesa-2.3.3 → mesa-2.3.4}/mesa/experimental/__init__.py +0 -0
  93. {mesa-2.3.3 → mesa-2.3.4}/mesa/experimental/cell_space/__init__.py +0 -0
  94. {mesa-2.3.3 → mesa-2.3.4}/mesa/experimental/cell_space/cell.py +0 -0
  95. {mesa-2.3.3 → mesa-2.3.4}/mesa/experimental/cell_space/cell_agent.py +0 -0
  96. {mesa-2.3.3 → mesa-2.3.4}/mesa/experimental/cell_space/cell_collection.py +0 -0
  97. {mesa-2.3.3 → mesa-2.3.4}/mesa/experimental/cell_space/discrete_space.py +0 -0
  98. {mesa-2.3.3 → mesa-2.3.4}/mesa/experimental/cell_space/grid.py +0 -0
  99. {mesa-2.3.3 → mesa-2.3.4}/mesa/experimental/cell_space/network.py +0 -0
  100. {mesa-2.3.3 → mesa-2.3.4}/mesa/experimental/components/altair.py +0 -0
  101. {mesa-2.3.3 → mesa-2.3.4}/mesa/experimental/components/matplotlib.py +0 -0
  102. {mesa-2.3.3 → mesa-2.3.4}/mesa/experimental/devs/__init__.py +0 -0
  103. {mesa-2.3.3 → mesa-2.3.4}/mesa/experimental/devs/eventlist.py +0 -0
  104. {mesa-2.3.3 → mesa-2.3.4}/mesa/experimental/devs/examples/epstein_civil_violence.py +0 -0
  105. {mesa-2.3.3 → mesa-2.3.4}/mesa/experimental/devs/examples/wolf_sheep.py +0 -0
  106. {mesa-2.3.3 → mesa-2.3.4}/mesa/experimental/devs/simulator.py +0 -0
  107. {mesa-2.3.3 → mesa-2.3.4}/mesa/experimental/jupyter_viz.py +0 -0
  108. {mesa-2.3.3 → mesa-2.3.4}/mesa/flat/__init__.py +0 -0
  109. {mesa-2.3.3 → mesa-2.3.4}/mesa/flat/visualization.py +0 -0
  110. {mesa-2.3.3 → mesa-2.3.4}/mesa/main.py +0 -0
  111. {mesa-2.3.3 → mesa-2.3.4}/mesa/model.py +0 -0
  112. {mesa-2.3.3 → mesa-2.3.4}/mesa/space.py +0 -0
  113. {mesa-2.3.3 → mesa-2.3.4}/mesa/time.py +0 -0
  114. {mesa-2.3.3 → mesa-2.3.4}/mesa/visualization/ModularVisualization.py +0 -0
  115. {mesa-2.3.3 → mesa-2.3.4}/mesa/visualization/TextVisualization.py +0 -0
  116. {mesa-2.3.3 → mesa-2.3.4}/mesa/visualization/UserParam.py +0 -0
  117. {mesa-2.3.3 → mesa-2.3.4}/mesa/visualization/__init__.py +0 -0
  118. {mesa-2.3.3 → mesa-2.3.4}/mesa/visualization/modules.py +0 -0
  119. {mesa-2.3.3 → mesa-2.3.4}/mypy.ini +0 -0
  120. {mesa-2.3.3 → mesa-2.3.4}/pyproject.toml +0 -0
  121. {mesa-2.3.3 → mesa-2.3.4}/tests/__init__.py +0 -0
  122. {mesa-2.3.3 → mesa-2.3.4}/tests/read_requirements.py +0 -0
  123. {mesa-2.3.3 → mesa-2.3.4}/tests/test_agent.py +0 -0
  124. {mesa-2.3.3 → mesa-2.3.4}/tests/test_batch_run.py +0 -0
  125. {mesa-2.3.3 → mesa-2.3.4}/tests/test_cell_space.py +0 -0
  126. {mesa-2.3.3 → mesa-2.3.4}/tests/test_datacollector.py +0 -0
  127. {mesa-2.3.3 → mesa-2.3.4}/tests/test_devs.py +0 -0
  128. {mesa-2.3.3 → mesa-2.3.4}/tests/test_end_to_end_viz.sh +0 -0
  129. {mesa-2.3.3 → mesa-2.3.4}/tests/test_examples.py +0 -0
  130. {mesa-2.3.3 → mesa-2.3.4}/tests/test_grid.py +0 -0
  131. {mesa-2.3.3 → mesa-2.3.4}/tests/test_import_namespace.py +0 -0
  132. {mesa-2.3.3 → mesa-2.3.4}/tests/test_jupyter_viz.py +0 -0
  133. {mesa-2.3.3 → mesa-2.3.4}/tests/test_lifespan.py +0 -0
  134. {mesa-2.3.3 → mesa-2.3.4}/tests/test_main.py +0 -0
  135. {mesa-2.3.3 → mesa-2.3.4}/tests/test_model.py +0 -0
  136. {mesa-2.3.3 → mesa-2.3.4}/tests/test_scaffold.py +0 -0
  137. {mesa-2.3.3 → mesa-2.3.4}/tests/test_space.py +0 -0
  138. {mesa-2.3.3 → mesa-2.3.4}/tests/test_time.py +0 -0
  139. {mesa-2.3.3 → mesa-2.3.4}/tests/test_tornado.py +0 -0
  140. {mesa-2.3.3 → mesa-2.3.4}/tests/test_usersettableparam.py +0 -0
  141. {mesa-2.3.3 → mesa-2.3.4}/tests/test_visualization.py +0 -0
@@ -1,6 +1,37 @@
1
1
  ---
2
2
  title: Release History
3
3
  ---
4
+ # 2.3.4 (2024-09-04)
5
+ ## Highlights
6
+ Two fixes in our docs: The visualization tutorial started using an example model that wasn't compatible with Mesa 2.x anymore, and some relative links were broken. This release fixes both.
7
+
8
+ ## What's Changed
9
+ ### 📜 Documentation improvements
10
+ * docs: Fix Visualization Tutorial (2.x branch) by @EwoutH in https://github.com/projectmesa/mesa/pull/2272
11
+ * Docs: Fix broken relative links by removing `.html` suffix by @EwoutH in https://github.com/projectmesa/mesa/pull/2274
12
+
13
+ **Full Changelog**: https://github.com/projectmesa/mesa/compare/v2.3.3...v2.3.4
14
+
15
+ # 2.3.3 (2024-09-01)
16
+ ## Highlights
17
+ Mesa v2.3.3 is a small patch release with documentation and maintenance updates backported from our main branch.
18
+
19
+ We do have included one feature as preview for Mesa 3.0: The AgentSet got a convenient `set` method to quickly set a variable value to (a subset of) agents. See #2254 for some examples.
20
+
21
+ ## What's Changed
22
+ ### 🎉 New features added
23
+ * AgentSet: Add `set` method by @EwoutH in https://github.com/projectmesa/mesa/pull/2254
24
+ ### 📜 Documentation improvements
25
+ * Fix image on landing page of docs. by @jackiekazil in https://github.com/projectmesa/mesa/pull/2146
26
+ * Replace links in docs - google group to matrix. by @jackiekazil in https://github.com/projectmesa/mesa/pull/2148
27
+ * Add experimental features to documentation as per #2122 by @stephenfmann in https://github.com/projectmesa/mesa/pull/2154
28
+ * Update visualisation docs by @EwoutH in https://github.com/projectmesa/mesa/pull/2162
29
+ * Add original conference paper link to docs by @ENUMERA8OR in https://github.com/projectmesa/mesa/pull/2160
30
+ * docs/conf.py: Use modern `intersphinx_mapping` format by @EwoutH in https://github.com/projectmesa/mesa/pull/2206
31
+ * Contribution: Add "I have no idea where to start" section by @EwoutH in https://github.com/projectmesa/mesa/pull/2258
32
+
33
+ **Full Changelog**: https://github.com/projectmesa/mesa/compare/v2.3.2...v2.3.3
34
+
4
35
  # 2.3.2 (2024-07-22)
5
36
  ## Highlights
6
37
  Mesa 2.3.2 is a small patch release which fixes two bugs, one to the batch_run function still depending on `schedule.steps`, and one in the agent marker visualisation.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: Mesa
3
- Version: 2.3.3
3
+ Version: 2.3.4
4
4
  Summary: Agent-based modeling (ABM) in Python
5
5
  Project-URL: homepage, https://github.com/projectmesa/mesa
6
6
  Project-URL: repository, https://github.com/projectmesa/mesa
@@ -99,7 +99,7 @@ tutorials/adv_tutorial_legacy.ipynb
99
99
  [github issue tracker]: https://github.com/projectmesa/mesa/issues
100
100
  [matrix chat room]: https://matrix.to/#/#project-mesa:matrix.org
101
101
  [mesa]: https://github.com/projectmesa/mesa/
102
- [mesa introductory tutorial]: tutorials/intro_tutorial.html
103
- [mesa visualization tutorial]: tutorials/visualization_tutorial.html
102
+ [mesa introductory tutorial]: tutorials/intro_tutorial
103
+ [mesa visualization tutorial]: tutorials/visualization_tutorial
104
104
  [pypi]: https://pypi.python.org/pypi/Mesa/
105
105
  [ticket]: https://github.com/projectmesa/mesa/issues
@@ -17,8 +17,8 @@ Mesa is modular, meaning that its modeling, analysis and visualization component
17
17
  Most models consist of one class to represent the model itself; one class (or more) for agents; a scheduler to handle time (what order the agents act in), and possibly a space for the agents to inhabit and move through. These are implemented in Mesa's modeling modules:
18
18
 
19
19
  - `mesa.Model`, `mesa.Agent`
20
- - [mesa.time](apis/time.html)
21
- - [mesa.space](apis/space.html)
20
+ - [mesa.time](apis/time)
21
+ - [mesa.space](apis/space)
22
22
 
23
23
  The skeleton of a model might look like this:
24
24
 
@@ -56,7 +56,7 @@ model = MyModel(5)
56
56
  model.step()
57
57
  ```
58
58
 
59
- You should see agents 0-4, activated in random order. See the [tutorial](tutorials/intro_tutorial.html) or API documentation for more detail on how to add model functionality.
59
+ You should see agents 0-4, activated in random order. See the [tutorial](tutorials/intro_tutorial) or API documentation for more detail on how to add model functionality.
60
60
 
61
61
  To bootstrap a new model install mesa and run `mesa startproject`
62
62
 
@@ -64,8 +64,8 @@ To bootstrap a new model install mesa and run `mesa startproject`
64
64
 
65
65
  If you're using modeling for research, you'll want a way to collect the data each model run generates. You'll probably also want to run the model multiple times, to see how some output changes with different parameters. Data collection and batch running are implemented in the appropriately-named analysis modules:
66
66
 
67
- - [mesa.datacollection](apis/datacollection.html)
68
- - [mesa.batchrunner](apis/batchrunner.html)
67
+ - [mesa.datacollection](apis/datacollection)
68
+ - [mesa.batchrunner](apis/batchrunner)
69
69
 
70
70
  You'd add a data collector to the model like this:
71
71
 
@@ -43,7 +43,7 @@
43
43
  "import mesa\n",
44
44
  "\n",
45
45
  "# You can either define the BoltzmannWealthModel (aka MoneyModel) or install mesa-models:\n",
46
- "%pip install --quiet -U git+https://github.com/projectmesa/mesa-examples#egg=mesa-models\n",
46
+ "%pip install --quiet -U git+https://github.com/projectmesa/mesa-examples@mesa-2.x#egg=mesa-models\n",
47
47
  "\n",
48
48
  "from mesa_models.boltzmann_wealth_model.model import BoltzmannWealthModel"
49
49
  ]
@@ -26,7 +26,7 @@ __all__ = [
26
26
  ]
27
27
 
28
28
  __title__ = "mesa"
29
- __version__ = "2.3.3"
29
+ __version__ = "2.3.4"
30
30
  __license__ = "Apache 2.0"
31
31
  _this_year = datetime.datetime.now(tz=datetime.timezone.utc).date().year
32
32
  __copyright__ = f"Copyright {_this_year} Project Mesa Team"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes