# BMC
WARNING, This package is likely to change dramatically as I learn more about the Turing Pi 2 BMC API.
BMC is a simple package to interact with the Turing Pi 2 BMC API enabling features such as
turning on power to nodes.
Due to a change in how the API works in the Turing Pi 2, this package is not compatible with BMC < 2.0.0.
## Usage
```python
from ipaddress import IPv4Address
from bmc.cluster import Cluster
cluster = Cluster(cluster_ip=IPv4Address('192.168.1.170'), username='root', password='turing', verify=False)
sdcard = cluster.nodes
print(sdcard)
```
## TODO
https://docs.turingpi.com/docs/turing-pi2-bmc-api
- [ ] Add support uart
- [ ] Add support firmware
- [ ] Add support flash
Raw data
{
"_id": null,
"home_page": "https://github.com/petermcd/turing-pi-bmc",
"name": "Turing-Pi-BMC",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "",
"author": "Peter McDonald",
"author_email": "git@petermcdonald.co.uk",
"download_url": "",
"platform": null,
"description": "# BMC\n\nWARNING, This package is likely to change dramatically as I learn more about the Turing Pi 2 BMC API.\n\nBMC is a simple package to interact with the Turing Pi 2 BMC API enabling features such as\nturning on power to nodes.\n\nDue to a change in how the API works in the Turing Pi 2, this package is not compatible with BMC < 2.0.0.\n\n## Usage\n\n```python\nfrom ipaddress import IPv4Address\nfrom bmc.cluster import Cluster\n\ncluster = Cluster(cluster_ip=IPv4Address('192.168.1.170'), username='root', password='turing', verify=False)\nsdcard = cluster.nodes\nprint(sdcard)\n```\n\n## TODO\n\nhttps://docs.turingpi.com/docs/turing-pi2-bmc-api\n\n- [ ] Add support uart\n- [ ] Add support firmware\n- [ ] Add support flash\n",
"bugtrack_url": null,
"license": "",
"summary": "Package to manage a Turing Pi 2 cluster using the BMC API",
"version": "1.0.1",
"project_urls": {
"Bug Tracker": "https://github.com/petermcd/turing-pi-bmc/issues",
"Homepage": "https://github.com/petermcd/turing-pi-bmc",
"Source": "https://github.com/petermcd/turing-pi-bmc"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4e33d6e08cff27e06ba1a8f2f0f912b274c0b428064c688cb8db70691ee29a21",
"md5": "48da89b8210199bd03306d5fda127a7a",
"sha256": "3ae7ff0b46104924c603cb22e69bf82bdfcd08c82fde786b5a21f820d59b041a"
},
"downloads": -1,
"filename": "Turing_Pi_BMC-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "48da89b8210199bd03306d5fda127a7a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 11424,
"upload_time": "2024-02-28T14:30:11",
"upload_time_iso_8601": "2024-02-28T14:30:11.244384Z",
"url": "https://files.pythonhosted.org/packages/4e/33/d6e08cff27e06ba1a8f2f0f912b274c0b428064c688cb8db70691ee29a21/Turing_Pi_BMC-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-28 14:30:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "petermcd",
"github_project": "turing-pi-bmc",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "turing-pi-bmc"
}