{ "info": { "author": "OpenStack", "author_email": "openstack-dev@lists.openstack.org", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "======\nPyHelm\n======\n\nPython bindings for the Helm package manager\n\nHow to use PyHelm\n-----------------\nIn order to install a Helm chart using PyHelm, you can perform the following steps:\n\n**Loading a chart using ChartBuilder**\n\n.. code-block:: python\n\n from pyhelm.chartbuilder import ChartBuilder\n\n chart = ChartBuilder({\"name\": \"nginx-ingress\", \"source\": {\"type\": \"repo\", \"location\": \"https://kubernetes-charts.storage.googleapis.com\"}}) \n \nThis will cause the chart to cloned locally, and any additional use of ``chart`` will reference the local copy.\nYou can also used a local chart by using ``\"type\": \"directory\"``, as well as cloning from a git repo using ``\"type\": \"git\"``\n\n**Installing a chart**\n\n.. code-block:: python\n\n from pyhelm.chartbuilder import ChartBuilder\n from pyhelm.tiller import Tiller\n\n tiller = Tiller(TILLER_HOST)\n chart = ChartBuilder({\"name\": \"nginx-ingress\", \"source\": {\"type\": \"repo\", \"location\": \"https://kubernetes-charts.storage.googleapis.com\"}}) \n tiller.install_release(chart.get_helm_chart(), dry_run=False, namespace='default')\n\nThis snippet will install the ``nginx-ingress`` chart on a Kubernetes cluster where Tiller is installed (assuming ``TILLER_HOST`` points to a live Tiller instance). Take note that in most Helm installations Tiller isn't accessible in such a manner, and you will need to perform a Kubernetes port-forward operation to access Tiller.\nThe ``Tiller`` class supports other operations other than installation, including release listing, release updating, release uninstallation and getting release contents.\n\n\nPackage versions\n----------------\nIn order to support multiple versions of Helm versions, which in turn require different gRPC prototypes, we maintain different PyHelm package versions.\n\n========================= =========================\nHelm version PyHelm dependency version\n------------------------- -------------------------\n2.11 (and lower) pyhelm>=2.11,<2.12\n2.14 pyhelm>=2.14,<2.15\n========================= =========================\n\nAdditional Helm versions can be supported as shown in the following section.\n\nHelm gRPC\n---------\nThe helm gRPC libraries are located in the hapi directory. They were generated with the grpc_tools.protoc utility against Helm 2.14. Should you wish to re-generate them you can easily do so:\n\n.. code-block:: shell\n\n git clone https://github.com/kubernetes/helm ./helm\n python -m grpc_tools.protoc -I helm/_proto --python_out=. --grpc_python_out=. _proto/hapi/chart/*\n python -m grpc_tools.protoc -I helm/_proto --python_out=. --grpc_python_out=. _proto/hapi/services/*\n python -m grpc_tools.protoc -I helm/_proto --python_out=. --grpc_python_out=. _proto/hapi/release/*\n python -m grpc_tools.protoc -I helm/_proto --python_out=. --grpc_python_out=. _proto/hapi/version/*", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Dominick1993/pyhelm", "keywords": "", "license": "", "maintainer": "Dominik Labuda", "maintainer_email": "dominikla@gmail.com", "name": "pyhelm-dominick1993", "package_url": "https://pypi.org/project/pyhelm-dominick1993/", "platform": "", "project_url": "https://pypi.org/project/pyhelm-dominick1993/", "project_urls": { "Homepage": "https://github.com/Dominick1993/pyhelm" }, "release_url": "https://pypi.org/project/pyhelm-dominick1993/2.14.5.dev1/", "requires_dist": null, "requires_python": "", "summary": "Python bindings for Helm: Kubernetes package manager", "version": "2.14.5.dev1" }, "last_serial": 5912811, "releases": { "2.14.5.dev1": [ { "comment_text": "", "digests": { "md5": "9e1045cbb9922035a3f4600edc1c2b56", "sha256": "b7f0509a49aaba4e2118eec9f6ffdaa00a85e03cf6e331f8d73f591dacab79fb" }, "downloads": -1, "filename": "pyhelm-dominick1993-2.14.5.dev1.tar.gz", "has_sig": false, "md5_digest": "9e1045cbb9922035a3f4600edc1c2b56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34071, "upload_time": "2019-10-01T14:53:11", "url": "https://files.pythonhosted.org/packages/08/5a/7ec9da6bf696c47c434a9c0e75627c46de9b6af243aeaf6dc2bbc2f0b286/pyhelm-dominick1993-2.14.5.dev1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9e1045cbb9922035a3f4600edc1c2b56", "sha256": "b7f0509a49aaba4e2118eec9f6ffdaa00a85e03cf6e331f8d73f591dacab79fb" }, "downloads": -1, "filename": "pyhelm-dominick1993-2.14.5.dev1.tar.gz", "has_sig": false, "md5_digest": "9e1045cbb9922035a3f4600edc1c2b56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34071, "upload_time": "2019-10-01T14:53:11", "url": "https://files.pythonhosted.org/packages/08/5a/7ec9da6bf696c47c434a9c0e75627c46de9b6af243aeaf6dc2bbc2f0b286/pyhelm-dominick1993-2.14.5.dev1.tar.gz" } ] }