Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

mosaik.Multi-Project

Tooling for setting up and maintaining multiple (mosaik) projects.

Motivation

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.

Status

pipeline status coverage report libraries status license badge PyPI version Python Versions

Maturity

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.

One-line Execution

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

Prerequisites

  • Python 3.6+
  • git

Downloading

git clone git@gitlab.com:offis.energy/mosaik/mosaik.multi-project.git

Virtual Environment

python3 -m venv venv

Tox

venv/bin/python -m pip install -r requirements.d/venv.txt
venv/bin/python -m tox -e py39

Running

PYTHONPATH=. \
.tox_py38_bin_python mosaik_multi_project/multi_project/cli/main.py \
--help

Use Cases

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 files for mosaik.Multi-Project 0.1.0rc20210825000703

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for mosaik.Multi-Project 0.1.0rc20210825000703
File Interpreter ABI Platform
mosaik.Multi_Project-0.1.0rc20210825000703-py3-none-any.whl Python 3 none any Details

Release files / mosaik.Multi_Project-0.1.0rc20210825000703-py3-none-any.whl

Download URL mosaik.Multi_Project-0.1.0rc20210825000703-py3-none-any.whl
Size 19.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57619fd41fc50e66eae55daf88beecea554cb8286f8e4ea689b6970c14c485c8
BLAKE2b-256 checksum
How to use checksums
9980005016791d45ea19dc3af5200c9d44bef8bff6291d7e6bd82b65d7253f9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.2

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page