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

Metadata

Release files for mosaik.Multi-Project 0.1.0rc20210722000607

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.0rc20210722000607
File Interpreter ABI Platform
mosaik.Multi_Project-0.1.0rc20210722000607-py3-none-any.whl Python 3 none any Details

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

Download URL mosaik.Multi_Project-0.1.0rc20210722000607-py3-none-any.whl
Size 19.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6fccb9db5dfba92382ed6d1e5af1c7a2baef6e203d7f866e8639f0a665406bd
BLAKE2b-256 checksum
How to use checksums
9007f9c7080d0ce642aa46d1ced2fedc56a07a9f6d94764488b8ed409a82b31a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.2

Security for mosaik.Multi-Project 0.1.0rc20210722000607

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

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