{ "info": { "author": "Genesis", "author_email": "dev-genesis@ultimatesoftware.com", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Aeon Cloud Client\n\n## Install Aeon Cloud\n\nThe Aeon Cloud client is hosted on Artifactory and can be installed via Pip.\n\n```bash\npip install aeoncloud -i \n```\n\n## Run a Blocking Session Client\n\nNote, settings can be any Aeon property used by Aeon.\n\n```python\nfrom aeoncloud import get_session_factory\n\naeon = get_session_factory()\nsession = aeon.get_session(settings={\n 'settings': {\n 'aeon.platform.http.url': 'http://localhost:8081/api/v1/',\n 'aeon.browser': 'Chrome',\n 'aeon.environment': 'launch-web.apps.mia.ulti.io',\n 'aeon.protocol': 'https',\n 'aeon.timeout': 10,\n 'aeon.wait_for_ajax_responses': True,\n }\n })\nsession.execute_command('GoToUrlCommand', ['https://google.com'])\nsession.quit_session()\n```\n\n## Run an Async Session Client\n\nA reactor loop of some type is required to run async Python code, in addtion to Python 3.5 and above.\nIn the example below retrieving an existing session is also demoed.\n\n```python\nimport asyncio\n\nfrom aeoncloud import get_session_factory\n\nasync def do():\n # Setup Session\n aeon = get_session_factory()\n session = await aeon.get_async_session(settings={\n 'settings': {\n 'aeon.platform.http.url': 'http://localhost:8081/api/v1/',\n 'aeon.browser': 'Chrome',\n 'aeon.environment': 'launch-web.apps.mia.ulti.io',\n 'aeon.protocol': 'https',\n 'aeon.timeout': 10,\n 'aeon.wait_for_ajax_responses': True,\n }\n })\n\n # Execute command on session\n await session.execute_command('GoToUrlCommand', ['https://google.com'])\n\n # Setup the session again\n session = await aeon.get_async_session(settings={\n 'settings': {\n 'aeon.platform.http.url': 'http://localhost:8081/api/v1/',\n 'aeon.browser': 'Chrome',\n 'aeon.environment': 'launch-web.apps.mia.ulti.io',\n 'aeon.protocol': 'https',\n 'aeon.timeout': 10,\n 'aeon.wait_for_ajax_responses': True,\n 'aeon.platform.session_id': session.session_id\n },\n })\n\n # Execute command on restored session\n await session.execute_command('GoToUrlCommand', ['https://microsoft.com'])\n\n # Kill session\n await session.quit_session()\n\n\nloop = asyncio.get_event_loop()\nloop.run_until_complete(do())\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://ultigit.ultimatesoftware.com/projects/VT/repos/aeon-cloud-python-client/browse", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "aeoncloud", "package_url": "https://pypi.org/project/aeoncloud/", "platform": "", "project_url": "https://pypi.org/project/aeoncloud/", "project_urls": { "Homepage": "https://ultigit.ultimatesoftware.com/projects/VT/repos/aeon-cloud-python-client/browse" }, "release_url": "https://pypi.org/project/aeoncloud/0.1.4/", "requires_dist": [ "requests", "aiohttp" ], "requires_python": "", "summary": "Aeon Cloud Python", "version": "0.1.4" }, "last_serial": 5108587, "releases": { "0.1.4": [ { "comment_text": "", "digests": { "md5": "f846c3866962fb679ef853e6ea843574", "sha256": "d2d900bb7b800a02a60078eade22977f4f3c57d3fdd2edc8d3cda10fce407685" }, "downloads": -1, "filename": "aeoncloud-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "f846c3866962fb679ef853e6ea843574", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18963, "upload_time": "2019-02-03T01:50:45", "url": "https://files.pythonhosted.org/packages/c4/1e/5fd746cce08cd0a3d4e4b0299d8cde1c03443215bda3e1d53df3df455da5/aeoncloud-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c31550a045103f6ac61c36fbcf7ae43e", "sha256": "d15496c1215e6bfdda1fde560c24362081e6cdfdbc9c939c4693d82a76bdf5a3" }, "downloads": -1, "filename": "aeoncloud-0.1.4.tar.gz", "has_sig": false, "md5_digest": "c31550a045103f6ac61c36fbcf7ae43e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8249, "upload_time": "2019-02-03T01:50:47", "url": "https://files.pythonhosted.org/packages/d4/0a/fdde2c707086cdee3042071e2d839964016573f2115b795d8ff00df0be06/aeoncloud-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f846c3866962fb679ef853e6ea843574", "sha256": "d2d900bb7b800a02a60078eade22977f4f3c57d3fdd2edc8d3cda10fce407685" }, "downloads": -1, "filename": "aeoncloud-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "f846c3866962fb679ef853e6ea843574", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18963, "upload_time": "2019-02-03T01:50:45", "url": "https://files.pythonhosted.org/packages/c4/1e/5fd746cce08cd0a3d4e4b0299d8cde1c03443215bda3e1d53df3df455da5/aeoncloud-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c31550a045103f6ac61c36fbcf7ae43e", "sha256": "d15496c1215e6bfdda1fde560c24362081e6cdfdbc9c939c4693d82a76bdf5a3" }, "downloads": -1, "filename": "aeoncloud-0.1.4.tar.gz", "has_sig": false, "md5_digest": "c31550a045103f6ac61c36fbcf7ae43e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8249, "upload_time": "2019-02-03T01:50:47", "url": "https://files.pythonhosted.org/packages/d4/0a/fdde2c707086cdee3042071e2d839964016573f2115b795d8ff00df0be06/aeoncloud-0.1.4.tar.gz" } ] }