{ "info": { "author": "XLAB d.o.o.", "author_email": "pypi@xlab.si", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "Introduction\n============\n\n``opera`` aims to be a lightweight orchestrator compliant with `OASIS TOSCA`_.\nThe initial compliance is with the `TOSCA Simple Profile YAML v1.2`_.\n\n.. _OASIS TOSCA: https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=tosca\n.. _TOSCA Simple Profile YAML v1.2: https://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/os/TOSCA-Simple-Profile-YAML-v1.2-os.html\n\n\nQuickstart\n----------\n\nThe simplest way to test ``opera`` is to install it into virtual environment::\n\n $ mkdir ~/opera && cd ~/opera\n $ python3 -m venv .venv && . .venv/bin/activate\n (.venv) $ pip install opera\n\nTo test if everything is working as expected, we can now try to deploy a\nhello-world service::\n\n (.venv) $ curl -L \\\n https://github.com/xlab-si/xopera-examples/archive/master.tar.gz \\\n | tar -xzf -\n (.venv) $ cd xopera-examples-master/01-hello-world\n (.venv) $ opera deploy hello service.yaml\n\nIf nothing went wrong, new empty file has been created at\n``/tmp/playing-opera/hello/hello.txt``.\n\n\nPrerequisites\n-------------\n\n``opera`` requires python 3 and a virtual environment. In a typical modern\nLinux environment, we should already be set. In Ubuntu, however, we might need\nto run the following commands::\n\n $ sudo apt update\n $ sudo apt install -y python3-venv python3-wheel python-wheel-common\n\n\nOpenStack client setup\n----------------------\n\nBecause using OpenStack modules from Ansible playbooks is quite common, we can\ninstall ``opera`` with all required OpenStack libraries by running::\n\n (.venv) $ pip install -U opera[openstack]\n\nBefore we can actually use the OpenStack functionality, we also need to obtain\nthe OpenStack credentials. If we log into OpenStack and navigate to the\n``Access & Security`` -> ``API Access`` page, we can download the rc file with\nall required information.\n\nAt the start of each session (e.g., when we open a new command line console),\nwe must source the rc file by running::\n\n (venv) $ . openstack.rc\n\nAfter we enter the password, we are ready to start using the OpenStack modules\nin playbooks that implement life cycle operations.\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/xlab-si/opera", "keywords": "", "license": "Apache-2", "maintainer": "", "maintainer_email": "", "name": "opera", "package_url": "https://pypi.org/project/opera/", "platform": "", "project_url": "https://pypi.org/project/opera/", "project_urls": { "Homepage": "https://github.com/xlab-si/opera" }, "release_url": "https://pypi.org/project/opera/0.1.0/", "requires_dist": [ "pyyaml (>=3.10)", "ansible (>=2.8)", "openstacksdk; extra == 'openstack'", "flake8; extra == 'test'" ], "requires_python": "", "summary": "Simple TOSCA orchestrator", "version": "0.1.0" }, "last_serial": 5302129, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "1a1046f9d2c7843c53633949bea74d08", "sha256": "876448bd952cf713518bdaa7c9ee00e4218e56176c46e7e91e47f9c3ce1aa25e" }, "downloads": -1, "filename": "opera-0.0.1.tar.gz", "has_sig": false, "md5_digest": "1a1046f9d2c7843c53633949bea74d08", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1473, "upload_time": "2018-11-16T16:55:08", "url": "https://files.pythonhosted.org/packages/ea/c9/aea39c21275de82314daa9e56db41926c79fd60525333402720ebe7c0b0a/opera-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "8533aee84c3669831289ccfe6157668a", "sha256": "81c9d2afa1c8c3171b904ad625f13257bc7c86e9086a88c4ae680de363552913" }, "downloads": -1, "filename": "opera-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8533aee84c3669831289ccfe6157668a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14767, "upload_time": "2019-05-22T10:52:15", "url": "https://files.pythonhosted.org/packages/80/c5/dc23e5271e1a914666f490f4d817f56f31ac5d4d2abd5975cb75c8117988/opera-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f81edc837368a6d9565dd1649ede63be", "sha256": "d605687020662b47f303ba5a1b1c66c352091167bbee9fb90e2b9afe8d87fff2" }, "downloads": -1, "filename": "opera-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f81edc837368a6d9565dd1649ede63be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19144, "upload_time": "2019-05-22T10:52:17", "url": "https://files.pythonhosted.org/packages/1c/d2/a51539c4185c62b674a1bbb5a25facc1d302d747d512ee8fff215dfece89/opera-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8533aee84c3669831289ccfe6157668a", "sha256": "81c9d2afa1c8c3171b904ad625f13257bc7c86e9086a88c4ae680de363552913" }, "downloads": -1, "filename": "opera-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8533aee84c3669831289ccfe6157668a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14767, "upload_time": "2019-05-22T10:52:15", "url": "https://files.pythonhosted.org/packages/80/c5/dc23e5271e1a914666f490f4d817f56f31ac5d4d2abd5975cb75c8117988/opera-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f81edc837368a6d9565dd1649ede63be", "sha256": "d605687020662b47f303ba5a1b1c66c352091167bbee9fb90e2b9afe8d87fff2" }, "downloads": -1, "filename": "opera-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f81edc837368a6d9565dd1649ede63be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19144, "upload_time": "2019-05-22T10:52:17", "url": "https://files.pythonhosted.org/packages/1c/d2/a51539c4185c62b674a1bbb5a25facc1d302d747d512ee8fff215dfece89/opera-0.1.0.tar.gz" } ] }