Skip to main content

The 3Di simulation container hub

Project description

container-hub

https://img.shields.io/pypi/v/container-hub.svg https://travis-ci.com/nens/container-hub.svg?token=FpwiJuZAE4pzUMeiLa1T&branch=master Updates

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.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

container_hub-0.0.6.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

container_hub-0.0.6-py2.py3-none-any.whl (9.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file container_hub-0.0.6.tar.gz.

File metadata

  • Download URL: container_hub-0.0.6.tar.gz
  • Upload date:
  • Size: 13.7 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

Hashes for container_hub-0.0.6.tar.gz
Algorithm Hash digest
SHA256 d87517b2f678a1ef3eb9497a2d84231f17fc22c4b9e83ea799b27508435e3f25
MD5 b283bb4a704fcaeb9004c54cd2e86d27
BLAKE2b-256 a299ed0b3b2fd1eccacc063c59c2aa60ddc689966a3e2c445fda4e3e19dbd524

See more details on using hashes here.

File details

Details for the file container_hub-0.0.6-py2.py3-none-any.whl.

File metadata

  • Download URL: container_hub-0.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.6 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

Hashes for container_hub-0.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 327ce7f68854d06f6496d3b9bb4c2a1c409bc87065bcfb65f7d7d715615baf8c
MD5 1e69ac284bb197bef14702addb2b572f
BLAKE2b-256 1fd8e97c9fde9ddf48789cdff724fef10ba0c08eda8210ac3a89c9b465312afc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page