The 3Di simulation container hub
Project description
container-hub
Container Hub
Spiritual successor of the machine manager. Main purpose is starting and stopping threedi simulation containers.
Usage
The container hub solely exposes two functions, up() and down(). They can be retrieved as a top level import:
from container_hub import up from container_hub import down
Based on the current settings this gives you a carrier specific function, either from the container_hub.carriers.marathon.container_terminal or the container_hub.carriers.docker.container_terminal.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.0.7 (2020-02-19)
Strip the ‘simulation-’ prefix when querying for the docker container_list to ensure uniformity between all carriers.
0.0.6 (2020-01-27)
Use a generic envs arg that will set the container env variables.
Added args sim_uid, sim_ref_datetime, end_time, duration and start_mode to container CMD.
0.0.5 (2020-01-17)
Use generic marathon constraints settings.
0.0.4 (2019-12-19)
Added support for host and ip lookups.
0.0.3 (2019-12-19)
Catch also ImportErrors for simple settings.
0.0.2 (2019-12-19)
Rename env var only_initialize to scheduler_action.
0.0.1 (2019-12-19)
First release on PyPI.
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 Distribution
Built Distribution
File details
Details for the file container_hub-0.0.7.tar.gz
.
File metadata
- Download URL: container_hub-0.0.7.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f9d845a458aa8d6a5d46a87ef85eaffa8ad2ff1603c6c0798e83de8493aacd7 |
|
MD5 | 7435e0c40b90399249715651cb8a5024 |
|
BLAKE2b-256 | b4616321a22f9857114b153742e6f47d5aff561e720bde138eed4a8107dec8de |
File details
Details for the file container_hub-0.0.7-py2.py3-none-any.whl
.
File metadata
- Download URL: container_hub-0.0.7-py2.py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4faa7c2df686948b7ac5241ef79e5b110c542d960215a7a1ad5783472fdec248 |
|
MD5 | 7adeef719e96cc8ed040fa1cda04d75f |
|
BLAKE2b-256 | 9440844f3ced3dcfe8870db7ba70a179bb5dd89c570745581b017b66cc6ae510 |