{ "info": { "author": "QianBiao NG", "author_email": "iampurse@vip.qq.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "python-ibmcclient\n=================\n\n[![Build Status](https://travis-ci.org/IamFive/python-ibmcclient.svg?branch=master)](https://travis-ci.org/IamFive/python-ibmcclient)\n\npython-ibmcclient is a Python library to communicate with HUAWEI `iBMC`\nbased systems.\n\nThe goal of the library is to be extremely simple, small, have as few\ndependencies as possible and be very conservative when dealing with BMCs\n by access HTTP REST API provided by HUAWEI `iBMC` based systems.\n\nCurrently, the scope of the library has been limited to supporting\n[`HUAWEI OpenStack Ironic driver`](https://github.com/openstack/ironic-specs/blob/master/specs/approved/ibmc-driver.rst).\n\n\n## Requirements.\n\nPython 2.7 and 3.4+\n\n## Installation\n\nFrom PyPi:\n\n```bash\n $ pip install python-ibmcclient\n```\n\nor\n\n```bash\n $ easy_install python-ibmcclient\n```\n\nOr from source:\n\n```bash\n $ python setup.py install\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation) and then run the following:\n\n\n```python\nfrom __future__ import print_function\nfrom pprint import pprint\n\nimport ibmc_client\nfrom ibmc_client import constants\n\n# ibmc server\naddress = \"https://example.ibmc.com\"\n# credential\nusername = \"username\"\npassword = \"password\"\n# disable certification verify\nverify = False\n\nwith ibmc_client.connect(address, username, password, verify) as client:\n # get system\n system = client.system.get()\n print('Power State: ')\n pprint(system.power_state)\n\n print('Boot Sequence: ')\n pprint(system.boot_sequence)\n\n print('Boot Source Override:' )\n pprint(system.boot_source_override)\n\n # reset system\n client.system.reset(constants.RESET_FORCE_RESTART)\n\n # set boot source override\n client.system.set_boot_source(constants.BOOT_SOURCE_TARGET_PXE,\n constants.BOOT_SOURCE_MODE_BIOS,\n constants.BOOT_SOURCE_ENABLED_ONCE)\n\n```\n\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/IamFive/python-ibmcclient", "keywords": "HUAWEI iBMC redfish API client", "license": "", "maintainer": "", "maintainer_email": "", "name": "python-ibmcclient", "package_url": "https://pypi.org/project/python-ibmcclient/", "platform": "", "project_url": "https://pypi.org/project/python-ibmcclient/", "project_urls": { "Bug Reports": "https://github.com/IamFive/python-ibmcclient/issues", "Homepage": "https://github.com/IamFive/python-ibmcclient", "Source": "https://github.com/IamFive/python-ibmcclient" }, "release_url": "https://pypi.org/project/python-ibmcclient/0.1.0/", "requires_dist": [ "requests (>=2.14.2)", "six (>=1.10.0)", "check-manifest ; extra == 'dev'", "flake8 ; extra == 'dev'", "coverage ; extra == 'test'" ], "requires_python": "", "summary": "HUAWEI iBMC client", "version": "0.1.0" }, "last_serial": 4848362, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "36ef2e14c0f1ed3f07732be8f4f51dfc", "sha256": "1ef4661e52ba658ad328d94bbda09b03dcab8e3c9cd4e1c8540e7aeb7920eb84" }, "downloads": -1, "filename": "python_ibmcclient-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "36ef2e14c0f1ed3f07732be8f4f51dfc", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18100, "upload_time": "2019-02-19T07:23:55", "url": "https://files.pythonhosted.org/packages/9b/18/1fae0fd723988d43a8ccaa4024d52b14feabbe62f1f9bc12978bd258d5d1/python_ibmcclient-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "36636f686f025304e8fa77debeacaab2", "sha256": "41a207b99a7d740f88b1d3c80824569e9c9074d2220226822927058134663882" }, "downloads": -1, "filename": "python-ibmcclient-0.0.2.tar.gz", "has_sig": false, "md5_digest": "36636f686f025304e8fa77debeacaab2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11370, "upload_time": "2019-02-19T07:23:58", "url": "https://files.pythonhosted.org/packages/b0/42/fda2a6918937a08df16660739b40951c3898df6d49b5cbf098bde8f11c7d/python-ibmcclient-0.0.2.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "75f40fccef5a489e1d907d905c3d94e6", "sha256": "ba4b6336ad70f5ca562799ddf39d3abbc99f387fd8d56d779808d3f5ded54cb0" }, "downloads": -1, "filename": "python_ibmcclient-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "75f40fccef5a489e1d907d905c3d94e6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18175, "upload_time": "2019-02-21T03:38:56", "url": "https://files.pythonhosted.org/packages/8e/4a/19655ffa4dff098504d229fdf86fd5771aa9ee5affa0ca4c7654be981dd1/python_ibmcclient-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6f590dd2e270efae88c89b7958511721", "sha256": "80c2acf878f7190b9edbc3edc1269b7f9dd4a31cad4ded92b9c627bb6d347695" }, "downloads": -1, "filename": "python-ibmcclient-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6f590dd2e270efae88c89b7958511721", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11442, "upload_time": "2019-02-21T03:38:58", "url": "https://files.pythonhosted.org/packages/33/1c/5e4b70e756e70c7f540f5720e021a18e1dc6611190159db03a902af64b31/python-ibmcclient-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "75f40fccef5a489e1d907d905c3d94e6", "sha256": "ba4b6336ad70f5ca562799ddf39d3abbc99f387fd8d56d779808d3f5ded54cb0" }, "downloads": -1, "filename": "python_ibmcclient-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "75f40fccef5a489e1d907d905c3d94e6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18175, "upload_time": "2019-02-21T03:38:56", "url": "https://files.pythonhosted.org/packages/8e/4a/19655ffa4dff098504d229fdf86fd5771aa9ee5affa0ca4c7654be981dd1/python_ibmcclient-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6f590dd2e270efae88c89b7958511721", "sha256": "80c2acf878f7190b9edbc3edc1269b7f9dd4a31cad4ded92b9c627bb6d347695" }, "downloads": -1, "filename": "python-ibmcclient-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6f590dd2e270efae88c89b7958511721", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11442, "upload_time": "2019-02-21T03:38:58", "url": "https://files.pythonhosted.org/packages/33/1c/5e4b70e756e70c7f540f5720e021a18e1dc6611190159db03a902af64b31/python-ibmcclient-0.1.0.tar.gz" } ] }