{ "info": { "author": "Bob Vork", "author_email": "bob@theothersonline.eu", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "portainer-py\n============\n\n.. image:: https://travis-ci.org/bob-codingdutchmen/portainer-py.svg?branch=master\n :target: https://travis-ci.org/bob-codingdutchmen/portainer-py\n\n----\n\n\n.. contents:: **Table of Contents**\n :backlinks: none\n\nInstallation\n------------\n\nportainer-py is distributed on `PyPI `_ as a universal\nwheel and is available on Linux/macOS and Windows and supports\nPython 3.5+.\n\n.. code-block:: bash\n\n $ pip install portainer-py\n\nUsage\n-----\n\nFrom the command line\n~~~~~~~~~~~~~~~~~~~~~\n\nThe only command currently supported is ``deploy``.\nUse the help function to find out how to use it:\n\n.. code-block:: bash\n\n $ portainerpy deploy --help\n Usage: portainerpy deploy [OPTIONS]\n\n Update and deploy a portainer stack.\n\n To ease automation, this utility also support using environment variables\n instead of using these command line options:\n\n --user PORTAINER_USERNAME\n --password PORTAINER_PASSWORD\n --host PORTAINER_HOST\n --stackname PORTAINER_STACK_NAME\n --stackfile PORTAINER_STACKFILE\n\n Options:\n -f, --stackfile PATH Path to the stackfile.yml [required]\n -h, --host TEXT URL to Portainer host [required]\n -u, --user TEXT Portainer username [required]\n -p, --password TEXT Portainer password\n -n, --stackname TEXT Name of the Portainer stack [required]\n -e, --env TEXT Environment variables to add to the stack\n --prune-env If true, will remove existing environment variables\n from the stack\n --prune-stack Prune services that are no longer referenced\n --help Show this message and exit.\n\n\nFrom python\n~~~~~~~~~~~\n\nIf you're running Portainer locally, which should be very easy using\nDocker, connect to it like this:\n\n.. code-block:: python\n\n from portainer_py import portainer_for_host\n\n portainer = portainer_for_host(\"http://localhost:9000\")\n portainer.login(\"\", \"\")\n\n stack = portainer.stack_with_name(\"my-stack\")\n\n try:\n portainer.update_stack(\n stack[\"Id\"],\n \"path/to/stackfile.yml\",\n env_vars={\"foo\": \"bar\"}\n )\n except: PortainerError as error:\n print(error.message)\n\n\n\nLicense\n-------\n\nportainer-py is distributed under the terms of the\n`MIT License `_.", "description_content_type": "text/x-rst; charset=UTF-8", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bob-codingdutchmen/portainer-py", "keywords": "", "license": "MIT", "maintainer": "Bob Vork", "maintainer_email": "bob@theothersonline.eu", "name": "portainer-py", "package_url": "https://pypi.org/project/portainer-py/", "platform": "", "project_url": "https://pypi.org/project/portainer-py/", "project_urls": { "Homepage": "https://github.com/bob-codingdutchmen/portainer-py" }, "release_url": "https://pypi.org/project/portainer-py/0.7.6/", "requires_dist": null, "requires_python": "", "summary": "Package to help deploy projects to portainer", "version": "0.7.6" }, "last_serial": 4806376, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "093bb9d6ca102cb1b8b1864df7174762", "sha256": "cfe0480c3c6aa60bdb825b34067e4e298711ddd4b02ca69b1dbb8cdb29203266" }, "downloads": -1, "filename": "portainer-py-0.2.0.tar.gz", "has_sig": false, "md5_digest": "093bb9d6ca102cb1b8b1864df7174762", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7347, "upload_time": "2019-02-06T11:03:28", "url": "https://files.pythonhosted.org/packages/5d/aa/29824e889a83db3e46a39567bba91995eb535441283b23b8540a212fa8cc/portainer-py-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "9863b6fd82088562991ff86f94cd4e95", "sha256": "ef89e33a1e943897dff03e31a80a709d70706c8043f025709c88abfad85a3b39" }, "downloads": -1, "filename": "portainer-py-0.2.1.tar.gz", "has_sig": false, "md5_digest": "9863b6fd82088562991ff86f94cd4e95", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7370, "upload_time": "2019-02-06T12:51:01", "url": "https://files.pythonhosted.org/packages/6b/e4/27baf3f1bb270727cbf70625063a66c8a64050d1c85906698bcc0d22474e/portainer-py-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "e34c479c4b12918d7009736dcbc98f60", "sha256": "d53d9c40fbbfd297b81f2cbc32a30f33dbf77bba8005f55644f3714dd66ad80b" }, "downloads": -1, "filename": "portainer-py-0.3.0.tar.gz", "has_sig": false, "md5_digest": "e34c479c4b12918d7009736dcbc98f60", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7989, "upload_time": "2019-02-06T14:34:08", "url": "https://files.pythonhosted.org/packages/5e/ec/9f28cafe4bbf25557ab61e4f50ad659e0d45aa0a7219ae65d5abddc13b06/portainer-py-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "aac1602929eee8ce76957a8f79d53c09", "sha256": "ada7193099fb326a6c502941c8c0cbce2403e62ffc9f9ce7c332c46205511a7b" }, "downloads": -1, "filename": "portainer-py-0.4.0.tar.gz", "has_sig": false, "md5_digest": "aac1602929eee8ce76957a8f79d53c09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8295, "upload_time": "2019-02-06T15:48:12", "url": "https://files.pythonhosted.org/packages/c1/6f/0ad328048fe3d9d85888dc78fa889a9d0cedfbe17fdfc2f1b16a53f2568f/portainer-py-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "c52fa7a8acd61bb11b90fed5d7fdca3e", "sha256": "612ece931cfe729f688b2c331542c50cfe09de6ac04c4891952d495f39bdead6" }, "downloads": -1, "filename": "portainer-py-0.5.0.tar.gz", "has_sig": false, "md5_digest": "c52fa7a8acd61bb11b90fed5d7fdca3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9186, "upload_time": "2019-02-07T09:53:12", "url": "https://files.pythonhosted.org/packages/59/6c/c6f97e0a53c9da6219b7f852b8be9657c6f0b738463d38d2f36540d20d0c/portainer-py-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "c3856394a57e8fd7371b9c86ca853eed", "sha256": "9d4ff785abaf7117e9f1f09cbc34e1b4496cf4e38783c272106b5f744643b932" }, "downloads": -1, "filename": "portainer-py-0.6.0.tar.gz", "has_sig": false, "md5_digest": "c3856394a57e8fd7371b9c86ca853eed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9673, "upload_time": "2019-02-07T10:00:23", "url": "https://files.pythonhosted.org/packages/33/ed/480ba0b021ce099a961aa865c267db54a02470fccb630fc1a1f8095fcd63/portainer-py-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "22744daddaa68c3b8b17bc335e4ae815", "sha256": "9abf2a7ba934ddc400287421271e660b25210447e508539e23e3e87579eb7a17" }, "downloads": -1, "filename": "portainer-py-0.7.0.tar.gz", "has_sig": false, "md5_digest": "22744daddaa68c3b8b17bc335e4ae815", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10806, "upload_time": "2019-02-07T14:01:35", "url": "https://files.pythonhosted.org/packages/27/91/808ffbba07beea76386320ac59c25eda484568f798637ef59d6c76d501bf/portainer-py-0.7.0.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "a22987906cefdf1a113f0bdfba2a4b85", "sha256": "9d125dd3d7a588932c44f039d42f1998faebb76623c2513ad29a0045abb2ca9c" }, "downloads": -1, "filename": "portainer-py-0.7.1.tar.gz", "has_sig": false, "md5_digest": "a22987906cefdf1a113f0bdfba2a4b85", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11059, "upload_time": "2019-02-07T14:21:21", "url": "https://files.pythonhosted.org/packages/9c/65/65a5f261f790c4267d585b043791a29d3b45b2c7038be782241897922b10/portainer-py-0.7.1.tar.gz" } ], "0.7.2": [ { "comment_text": "", "digests": { "md5": "53411b60334145406286cb21464f4207", "sha256": "30bf096bc87a685d14052f8579f79112b76b89daae653a65589ef6930e2698ee" }, "downloads": -1, "filename": "portainer-py-0.7.2.tar.gz", "has_sig": false, "md5_digest": "53411b60334145406286cb21464f4207", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11093, "upload_time": "2019-02-07T16:18:11", "url": "https://files.pythonhosted.org/packages/f1/3e/74ba39c0cdec25891ed2486d1ad451af88dc7bfb85d51e3db082ec8bf82a/portainer-py-0.7.2.tar.gz" } ], "0.7.3": [ { "comment_text": "", "digests": { "md5": "8d87629f39d6954c0343d172b2bce693", "sha256": "1224d85d1e095cb5d8e0c87a0b488074198865c3e1ca1ec5e0194f4a0e29e573" }, "downloads": -1, "filename": "portainer-py-0.7.3.tar.gz", "has_sig": false, "md5_digest": "8d87629f39d6954c0343d172b2bce693", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11204, "upload_time": "2019-02-11T13:32:10", "url": "https://files.pythonhosted.org/packages/c0/29/94e849617c3a74180424efc965de54059299f3b9529d640550b5b98a511d/portainer-py-0.7.3.tar.gz" } ], "0.7.5": [ { "comment_text": "", "digests": { "md5": "fab359cbdee7a4f380a17d760813242b", "sha256": "0e53049538d7312f680ae70f62fee16a63ffc59cdd11675d876d0f93e6567907" }, "downloads": -1, "filename": "portainer-py-0.7.5.tar.gz", "has_sig": false, "md5_digest": "fab359cbdee7a4f380a17d760813242b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11248, "upload_time": "2019-02-11T14:29:22", "url": "https://files.pythonhosted.org/packages/d5/3f/63a35e4f4dd109e82accfbc9aa552780d6bdf00083808b673d157b174f0a/portainer-py-0.7.5.tar.gz" } ], "0.7.6": [ { "comment_text": "", "digests": { "md5": "aecfd38c593453e5f0dd4de12227c4ca", "sha256": "1727575088bff0badb8efd7e6bed17a95f1c511ecfbececca5dc93b5465e52f8" }, "downloads": -1, "filename": "portainer-py-0.7.6.tar.gz", "has_sig": false, "md5_digest": "aecfd38c593453e5f0dd4de12227c4ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11288, "upload_time": "2019-02-11T14:47:50", "url": "https://files.pythonhosted.org/packages/b5/4d/4621b5f50039f29381c5199d77c30c7f30d1a56d833e3ff798584bea8998/portainer-py-0.7.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "aecfd38c593453e5f0dd4de12227c4ca", "sha256": "1727575088bff0badb8efd7e6bed17a95f1c511ecfbececca5dc93b5465e52f8" }, "downloads": -1, "filename": "portainer-py-0.7.6.tar.gz", "has_sig": false, "md5_digest": "aecfd38c593453e5f0dd4de12227c4ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11288, "upload_time": "2019-02-11T14:47:50", "url": "https://files.pythonhosted.org/packages/b5/4d/4621b5f50039f29381c5199d77c30c7f30d1a56d833e3ff798584bea8998/portainer-py-0.7.6.tar.gz" } ] }