Metadata-Version: 2.0
Name: container-hub
Version: 0.0.4
Summary: The 3Di simulation container hub
Home-page: https://github.com/nens/container-hub
Author: Lars Claussen
Author-email: claussen.lars@nelen-schuurmans.nl
License: MIT license
Keywords: container_hub
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: docker (>=3.7.2)
Requires-Dist: marathon (>=0.11.0)
Requires-Dist: threedi-api-client (>=3.0b4)

=============
container-hub
=============


.. image:: https://img.shields.io/pypi/v/container-hub.svg
        :target: https://pypi.python.org/pypi/container-hub

.. image:: https://travis-ci.com/nens/container-hub.svg?token=FpwiJuZAE4pzUMeiLa1T&branch=master
        :target: https://travis-ci.com/nens/container-hub

.. image:: https://pyup.io/repos/github/nens/container-hub/shield.svg
     :target: https://pyup.io/repos/github/nens/container-hub/
     :alt: 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.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


=======
History
=======

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.


