Skip to main content

mosaik-web

A simple mosaik simulation visualization for web browsers.

Installation

$ pip install mosaik-web

Add mosaik-web to sim_config:

sim_config = {
    'WebVis': {
        'cmd': 'mosaik-web -s 127.0.0.1:8000 %(addr)s',
    },
}

Start mosaik-web without SSL:

webvis = world.start('WebVis', start_date='2014-01-01 00:00:00', step_size=60)

Start mosaik-web with SSL:

webvis = world.start('WebVis', start_date='2014-01-01 00:00:00', step_size=60, activate_ssl=True, keyfile=keyfile, certfile=certfile)

CONFIGURATION

The default configuration looks like this:

default_config = {
    'ignore_types': ['Topology'],
    'merge_types': ['Branch', 'Transformer'],
    'merge_nodes': [],
    'disable_heatmap': False,
    'timeline_hours': 24,
    'etypes': {},
    'ignore_names': [],
}

You can find a full example configuration here: https://gitlab.com/mosaik/examples/des_demos/-/blob/master/data/setup_webvis.py

Metadata

Release files for mosaik-web 0.5.0

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

Source distribution (sdist)

Source distribution for mosaik-web 0.5.0
File Size Uploaded
mosaik_web-0.5.0.tar.gz 121.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mosaik-web 0.5.0
File Interpreter ABI Platform
mosaik_web-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 240.1 kB

Release files / mosaik_web-0.5.0.tar.gz

Download URL mosaik_web-0.5.0.tar.gz
Size 121.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b0fca22115b96ba30f4b6551c4083df3426f57978388acf58df0041e9c5128c0
BLAKE2b-256 checksum
How to use checksums
f158dcf55878492c8c7a0a01a483abd9de4098255140c6726750ca251045f352
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / mosaik_web-0.5.0-py3-none-any.whl

Download URL mosaik_web-0.5.0-py3-none-any.whl
Size 118.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11cdd62a3dd31cc19463eba9c3628760d79324dd647884111bf3994747b1d121
BLAKE2b-256 checksum
How to use checksums
b2e745e4a98337ee8721d2af1ef4ae8e319d64d2aa785983ac7fb8fdab6627ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

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