The missing implementation of mosaik's SimConfig dictionary.
Project description
mosaik SimConfig
The missing implementation of mosaik's SimConfig dictionary.
Status
Ensuring PIP
python -m ensurepip
Setting up the Virtual Environment
python -m venv venv
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.exe -m tox
Updating the Virtual Environment Requirements
Under Linux:
venv/bin/python -m pip_review --auto
Under Windows:
venv\Scripts\python.exe -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.exe -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.exe -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.scenario.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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for mosaik.SimConfig-0.1.0rc20210517000856-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a223783f151e6e3e7f92839a2cd9377ec4228814db09f808cc8a91f86b00e54e |
|
MD5 | 8a3dddabdf56f98ff472bd277e7ab03d |
|
BLAKE2b-256 | e264f949cf72dbd8af3e71e27806fc2d141b4cf903ad7fcc699458299f77ae28 |