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
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
Metadata
Release files for mosaik.SimConfig 0.1.0rc20200204163632
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mosaik.SimConfig-0.1.0rc20200204163632-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / mosaik.SimConfig-0.1.0rc20200204163632-py2.py3-none-any.whl
| Download URL | mosaik.SimConfig-0.1.0rc20200204163632-py2.py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1d442aa3e5b68727baa25fd74ef8e0ae85d28b2539228615d11ab1bfa5f096e1
|
|
BLAKE2b-256 checksum How to use checksums |
886cc04b4ca00106b12a87a9c6c3f7874c90e09eb4dc2beac7ee3d98d031e793
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.5
|