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 Provenance Actions
mosaik_web-0.5.0.tar.gz 121.4 kB Without provenance Details for mosaik_web-0.5.0.tar.gz

Built distribution (wheel)

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

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}

Security for mosaik-web 0.5.0

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.

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