Installation
PyMAPE can be simply installed using pip, directly in your system
or in a separated virtual environment
to keep clean your main system.
Examples dependencies
If you intend play with the provided examples of different MAPE-K patterns, you should also install the dependency pip install -r examples/requirements.txt
.
Anyway before play with them, we need to run some docker containers. We will see them soon.
Installation for Developers and Contributors¶
If you want to contribute to the project, you have use poetry and follow the steps below:
Then use poetry shell
and/or poetry run
(eg. poetry run examples/coordinated-ambulance.py --speed 80
) to exec a script inside the development environment.