Opened 14 months ago
Last modified 14 months ago
#68347 new request
Please develop a py-mesa port for mac OS
Reported by: | jbrundle | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py-mesa |
Description
It would be great to have a py-mesa port if possible, since this is a mainstay of Agent Based Modeling of complex systems, which are common in economics, finance, disaster response, and many other applications. I personally would like to pair it with predictive methods such as transformers, deep learning and the like so that the impacts of events on these human systems could be modeled.
Change History (7)
comment:1 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)
Port: | py-mesa added |
---|---|
Type: | defect → request |
comment:2 Changed 14 months ago by reneeotten (Renee Otten)
comment:3 Changed 14 months ago by kencu (Ken)
This?
<https://mesa.readthedocs.io/en/stable/overview.html>
which, by the look of it, has absolutely nothing to do with the mesa
port.
comment:4 Changed 14 months ago by jbrundle
Yes, exactly that, it is python code for agent based modeling of complex systems
comment:5 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)
upt or pypi2port can do much of the work of creating ports for python-based software for you.
comment:6 Changed 14 months ago by jmroot (Joshua Root)
Note that you can install most packages on PyPI without needing a port, by using a venv. For example, after installing the python311 port:
% python3.11 -m venv ./mesa-env
This creates a venv container in a directory called mesa-env
in the current directory.
% ./mesa-env/bin/pip install mesa
This runs the pip
installer inside the newly created venv and tells it to install the mesa module. All of mesa's dependencies are installed inside the venv as well. You can then run the mesa executable as
./mesa-env/bin/mesa
Docs for venv are at https://docs.python.org/3/library/venv.html.
Because these tools are available, we generally only create ports for python modules if they are a dependency of some other port, or if they have a dependency that is available as a port but not installable by pip.
at the very least providing a link to the upstream package would probably be a good idea...