Skip to main content
Pre-release

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

mosaik SimConfig

The missing implementation of mosaik's SimConfig dictionary.

Status

  • pipeline status
  • coverage report
  • CII Best Practices

Ensuring PIP

python -m ensurepip

Setting up the Virtual Environment

python -m venv venv

Activating the Virtual Environment

Under BASH:

source venv/bin/activate

Under Windows:

venv\Scripts\activate

Installing Requirements

 python -m pip install --upgrade -r requirements.d/venv.txt

Running the Tests

Under Linux:

venv/bin/python -m tox

Under Windows:

venv\Scripts\python -m tox

Updating the Virtual Environment Requirements

Under Linux:

venv/bin/python -m pip_review --auto

Under Windows:

venv\Scripts\python -m pip_review --auto

Freezing the Virtual Environment Requirements

Under Linux

 venv/bin/python -m pip freeze --all --exclude-editable > requirements.d/venv.txt
 # And remove line beginning with package name

Under Windows

 venv\Scripts\python -m pip freeze --all --exclude-editable > requirements.d/venv.txt
# And remove line beginning with package name

Updating the Test Environment Requirements

Under Linux:

.tox/py36/bin/python -m pip_review --auto

Under Windows:

venv\Scripts\python -m pip_review --auto

Freezing the Test Environment Requirements

Under Linux

.tox/py36/bin/python -m pip freeze --all --exclude-editable > requirements.d/base.txt
# And remove line beginning with package name

Under Windows

.tox\py36\Scripts\python -m pip freeze --all --exclude-editable > requirements.d/base.txt
# And remove line beginning with package name

Using the Package

from mosaik_simconfig.simconfig.sim_config import SimConfig
from tests.mock.simulator import MockSimulator

sim_config = SimConfig()
sim_config.add_in_process(simulator=MockSimulator)

mosaik.World(sim_config=sim_config).run(until=1)

For more usage examples, see the tests.

Changelog

0.1.0 - 2019-03-25

  • [NEW] Initial release on GitLab.com

Authors

Bengt Lüers

Metadata

Release files for mosaik.SimConfig 0.1.0rc20190806185356

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.SimConfig 0.1.0rc20190806185356
File Interpreter ABI Platform
mosaik.SimConfig-0.1.0rc20190806185356-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / mosaik.SimConfig-0.1.0rc20190806185356-py2.py3-none-any.whl

Download URL mosaik.SimConfig-0.1.0rc20190806185356-py2.py3-none-any.whl
Size 14.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7240d52a944207c0bcf7b8f14d820818d8784388c9ac9ea8b4d15917cd8fca25
BLAKE2b-256 checksum
How to use checksums
4a826c74d115611e676733dcb8f454d9f20ba0c3c63ceefd30bf08c5f293c982
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

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