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.15 (2021-07-27)
Added options for passing gridadmin_download_url and tables_download_url parameters to the up() function
0.0.14 (2021-06-09)
Removed threedi-api-client as requirement.
Added a pypi release pipeline to github action workflow.
0.0.13 (2020-10-13)
Added the ‘clean_up_files’ arg to ‘up()’ function.
0.0.12 (2020-08-11)
Bumped docker version
0.0.11 (2020-05-15)
Added the ‘max_rate’ arg to up() function.
0.0.10 (2020-04-20)
All MarathonApp args must be strings.
0.0.9 (2020-04-20)
Session memory argument mem must be string for marathon strange enough.
0.0.8 (2020-04-16)
Added the pause_timeout arg to the up() function.
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.15.tar.gz
.
File metadata
- Download URL: container_hub-0.0.15.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35ab98a155f6efc4130dc5c2ba985d69f1fdfa84d1e59550b0d6de7db72a76b4 |
|
MD5 | 084b874c82785485a3147d1e7cc7558d |
|
BLAKE2b-256 | acad72d86e8971ddec3010f48dfd8d32bf69b6a338e23cee114ed321752dd78a |
File details
Details for the file container_hub-0.0.15-py2.py3-none-any.whl
.
File metadata
- Download URL: container_hub-0.0.15-py2.py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3c2719b0f8ca220b16debe865513013fb029c77333cbc80bae5b3777b93039d |
|
MD5 | 86d01b9a2d82a03f26bd6786a36f12be |
|
BLAKE2b-256 | 6a063f03929b81861990e7ad9ab978ffdb088d9e371171936dc62875ffcbf0a3 |