Manage multiple mosaik projects with using common tooling.
Tooling for setting up and maintaining multiple (mosaik) projects.
mosaik scenarios often contain multiple simulators. Sometimes, additional packages need to be developed alongside of them. Managing such a set of loosely coupled projects becomes laborious easily. This project provides tooling for some common operations on projects. These operations range from cloning the repository to building a docker image. Operations can be run in parallel on projects, enabling quite some automation.
The code of this project was largely in operation in the Designetz project. There, it was used to maintain and develop components of the AI-powered power grid control room "System-Cockpit". The System-Cockpit consisted of about 12 mosaik simulators as well as about 18 support and infrastructure projects.
mosaik.Multi-Project can be run as a container directly from GitLab.com:
docker run registry.gitlab.com/offis.energy/mosaik/mosaik.multi-project:latest --help
- Python 3.6+
git clone email@example.com:offis.energy/mosaik/mosaik.multi-project.git
python3 -m venv venv
venv/bin/python -m pip install -r requirements.d/venv.txt venv/bin/python -m tox -e py39
PYTHONPATH=. \ .tox_py38_bin_python mosaik_multi_project/multi_project/cli/main.py \ --help
Setup all projects in the config and update their requirements in parallel:
PYTHONPATH=. \ .tox_py38_bin_python mosaik_multi_project/multi_project/cli/main.py
Setup one project in the config and update its requirements:
PYTHONPATH=. \ .tox_py38_bin_python mosaik_multi_project/multi_project/cli/main.py \ --parallel False --project mosaik.EId --operation ALL
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size mosaik.Multi_Project-0.1.0rc20210412001032-py3-none-any.whl (19.1 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
Hashes for mosaik.Multi_Project-0.1.0rc20210412001032-py3-none-any.whl