Metadata-Version: 2.1
Name: portainer-py
Version: 0.3.0
Summary: UNKNOWN
Home-page: https://github.com/_/portainer-py
Author: Bob Vork
Author-email: bob@theothersonline.eu
Maintainer: Bob Vork
Maintainer-email: bob@theothersonline.eu
License: MIT
Description: portainer-py
        ============
        
        
        .. contents:: **Table of Contents**
            :backlinks: none
        
        Installation
        ------------
        
        portainer-py is distributed on `PyPI <https://pypi.org>`_ as a universal
        wheel and is available on Linux/macOS and Windows and supports
        Python 3.5+.
        
        .. code-block:: bash
        
            $ pip install portainer-py
        
        Usage
        -----
        
        If you're running Portainer locally, which should be very easy using
        Docker, connect to it like this:
        
        .. code-block:: python
        
            from portainer_py import portainer_for_host
        
            portainer = portainer_for_host("http://localhost:9000")
            portainer.login("<username>", "<password>")
        
            stack = portainer.stack_with_name("my-stack")
        
            try:
                portainer.update_stack(
                    stack["Id"],
                    "path/to/stackfile.yml",
                    env_vars={"foo": "bar"}
                )
            except: PortainerError as error:
                print(error.message)
        
        
        License
        -------
        
        portainer-py is distributed under the terms of the
        `MIT License <https://choosealicense.com/licenses/mit>`_.
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Description-Content-Type: text/x-rst; charset=UTF-8
