{ "info": { "author": "ansheng", "author_email": "ianshengme@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# BWH\n\n\u642c\u74e6\u5de5\u9762\u677f API SDK\n\n## \u5b89\u88c5\n\n\u4f7f\u7528pip\u5b89\u88c5\n\n```\n$ pip install turbotools\n```\n\n\u6216\u8005\u4ece\u6e90\u7801\u5305\u5b89\u88c5\n\n```\n$ git clone https://github.com/anshengme/turbotools\n$ cd turbotools\n$ python setup.py install\n```\n\n## \u793a\u4f8b\n\n- \u521b\u5efa\u5b9e\u4f8b\n\n```\n>>> from bwh import BwhSdk\n>>> bwh = BwhSdk(veid=598375,api_key='private_YJuvhyLXL5RwLJ2q9pVxlqi9')\n```\n\n- \u83b7\u53d6\u670d\u52a1\u5668\u4fe1\u606f\n\n```\n>>> bwh.get_service_info()\n```\n\n- \u83b7\u53d6\u53ef\u4ee5\u5b89\u88c5\u7684OS\u5217\u8868\n\n```\n>>> bwh.get_available_os()\n{'error': 0, 'installed': 'centos-6-x86-bbr', 'templates': ['centos-6-x86', 'centos-6-x86-bbr', 'centos-6-x86_64', 'centos-6-x86_64-bbr', 'centos-7-x86_64', 'centos-7-x86_64-bbr', 'debian-7-x86', 'debian-7-x86_64', 'debian-8-x86', 'debian-8-x86_64', 'debian-9-x86', 'debian-9-x86_64', 'ubuntu-12.04-x86', 'ubuntu-12.04-x86_64', 'ubuntu-14.04-x86', 'ubuntu-14.04-x86_64', 'ubuntu-16.04-x86', 'ubuntu-16.04-x86_64', 'ubuntu-18.04-x86_64']}\n```", "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/anshengme/bwh", "keywords": "", "license": "LICENSE", "maintainer": "", "maintainer_email": "", "name": "bwh", "package_url": "https://pypi.org/project/bwh/", "platform": "", "project_url": "https://pypi.org/project/bwh/", "project_urls": { "Homepage": "https://github.com/anshengme/bwh" }, "release_url": "https://pypi.org/project/bwh/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "bandwagonhost panel api sdk", "version": "0.0.1" }, "last_serial": 5633743, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a3ab3c6f0aff3b8461760d91bcfa5736", "sha256": "eab1a14f8fc6be42fdbeb725379ffbcec4e0646594e9f532e7346d54a4ea18b6" }, "downloads": -1, "filename": "bwh-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a3ab3c6f0aff3b8461760d91bcfa5736", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3942, "upload_time": "2019-08-05T11:23:52", "url": "https://files.pythonhosted.org/packages/f5/91/b99b27acd6c9e5ad1c3766accb67dd354f1c1c7acdfa739237bc6ab06994/bwh-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a3ab3c6f0aff3b8461760d91bcfa5736", "sha256": "eab1a14f8fc6be42fdbeb725379ffbcec4e0646594e9f532e7346d54a4ea18b6" }, "downloads": -1, "filename": "bwh-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a3ab3c6f0aff3b8461760d91bcfa5736", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3942, "upload_time": "2019-08-05T11:23:52", "url": "https://files.pythonhosted.org/packages/f5/91/b99b27acd6c9e5ad1c3766accb67dd354f1c1c7acdfa739237bc6ab06994/bwh-0.0.1.tar.gz" } ] }