{ "info": { "author": "lfbear", "author_email": "lfbear@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3.7", "Topic :: System :: Systems Administration", "Topic :: Utilities" ], "description": "# ansible-api v0.5.0\n\nA restful http api for ansible\npython version >= 3.7\n\n## What is it?\n\n[Ansible](https://github.com/ansible/ansible/) is a radically simple IT automation system.\nIf you are trying to use it and not like CLI, you can try me now. I can provide you use ansible by A RESTful HTTP Api and a realtime processing message (websocket api), you can see all details.\n\n## Changelog\n\n- 0.5.0 replace tornado with sanic, more lightly (python>=3.7) \n- 0.3.0 using ansible-runner as middleware\n- 0.2.6 adaptive ansible 2.6.4 and add asynchronization mode\n- 0.2.2 optimize log\n- 0.2.1 optimize log and allow mutil-instance in the same host\n- 0.2.0 support websocket, remove code invaded in ansible\n\n## Structure chart\n\n![image](https://github.com/lfbear/ansible-api/raw/master/data/structure.png)\n\n## How to install\n\n- [preparatory work] python version >= 3.7 (use asyncio featrue)\n- ```pip3 install ansible-api```\n\n## How to start it\n\n- default configuration: /etc/ansible/api.cfg\n- start: \n```\nansible-api -c [Configfile, Optional] -d [Daemon Mode, Optional]\n```\neg: ansible-api -c /etc/ansible/api.cfg -d > /dev/null &\n\n## How to prepare your data\n\n[HTTP API Usage](https://github.com/lfbear/ansible-api/wiki/http-api-usage)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lfbear/ansible-api", "keywords": "", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "ansible-api", "package_url": "https://pypi.org/project/ansible-api/", "platform": "", "project_url": "https://pypi.org/project/ansible-api/", "project_urls": { "Bug Reports": "https://github.com/lfbear/ansible-api/issues", "Homepage": "https://github.com/lfbear/ansible-api", "Source": "https://github.com/lfbear/ansible-api" }, "release_url": "https://pypi.org/project/ansible-api/0.5.0/", "requires_dist": null, "requires_python": ">=3.7", "summary": "A restful HTTP API for ansible", "version": "0.5.0" }, "last_serial": 4873147, "releases": { "0.5.0": [ { "comment_text": "", "digests": { "md5": "eb6a3091fd3d44734a8625dd6b9682c4", "sha256": "0056e659ee3e8a60dbbec4e7f4fa0cb584f723f0e79d407d947496b0f5456764" }, "downloads": -1, "filename": "ansible-api-0.5.0.tar.gz", "has_sig": false, "md5_digest": "eb6a3091fd3d44734a8625dd6b9682c4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 10678, "upload_time": "2019-02-27T08:51:19", "url": "https://files.pythonhosted.org/packages/09/06/23d9c587f1976e8902aab4ba1635c185eaaffa349eab8114c18acbfd763d/ansible-api-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "eb6a3091fd3d44734a8625dd6b9682c4", "sha256": "0056e659ee3e8a60dbbec4e7f4fa0cb584f723f0e79d407d947496b0f5456764" }, "downloads": -1, "filename": "ansible-api-0.5.0.tar.gz", "has_sig": false, "md5_digest": "eb6a3091fd3d44734a8625dd6b9682c4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 10678, "upload_time": "2019-02-27T08:51:19", "url": "https://files.pythonhosted.org/packages/09/06/23d9c587f1976e8902aab4ba1635c185eaaffa349eab8114c18acbfd763d/ansible-api-0.5.0.tar.gz" } ] }