# zhmccli - A CLI for the IBM Z HMC, written in pure Python
[![Version on Pypi](https://img.shields.io/pypi/v/zhmccli.svg)](https://pypi.python.org/pypi/zhmccli/)
[![Test status (master)](https://github.com/zhmcclient/zhmccli/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/zhmcclient/zhmccli/actions/workflows/test.yml?query=branch%3Amaster)
[![Docs status (master)](https://readthedocs.org/projects/zhmccli/badge/?version=latest)](https://readthedocs.org/projects/zhmccli/builds/)
[![Test coverage (master)](https://img.shields.io/coveralls/zhmcclient/zhmccli.svg)](https://coveralls.io/r/zhmcclient/zhmccli)
[![Code Climate](https://codeclimate.com/github/zhmcclient/zhmccli/badges/gpa.svg)](https://codeclimate.com/github/zhmcclient/zhmccli)
# Overview
The zhmccli package is a CLI written in pure Python that interacts with
the Hardware Management Console (HMC) of
[IBM Z](http://www.ibm.com/systems/z/) or
[LinuxONE](http://www.ibm.com/systems/linuxone/) machines. The goal of
this package is to provide an easy-to-use command line interface for
operators.
The zhmccli package uses the API provided by the zhmcclient package,
which interacts with the Web Services API of the HMC. It supports
management of the lifecycle and configuration of various platform
resources, such as partitions, CPU, memory, virtual switches, I/O
adapters, and more.
# Installation
The quick way:
``` bash
$ pip install zhmccli
```
For more details, see the
[Installation section](http://zhmccli.readthedocs.io/en/latest/intro.html#installation)
in the documentation.
# Quickstart
The following example lists the names of the machines (CPCs) managed by
an HMC:
``` bash
$ hmc_host="<IP address or hostname of the HMC>"
$ hmc_userid="<userid on that HMC>"
$ zhmc -h $hmc_host -u $hmc_userid cpc list --names-only
Enter password (for user ... at HMC ...): .......
+----------+
| name |
|----------+
| P000S67B |
+----------+
```
# Documentation
- [Documentation](http://zhmccli.readthedocs.io/en/latest/)
- [Change log](http://zhmccli.readthedocs.io/en/latest/changes.html)
# Contributing
For information on how to contribute to this project, see the
[Development section](http://zhmccli.readthedocs.io/en/latest/development.html)
in the documentation.
# License
The zhmccli package is licensed under the
[Apache 2.0 License](https://github.com/zhmcclient/zhmccli/tree/master/LICENSE).
Raw data
{
"_id": null,
"home_page": null,
"name": "zhmccli",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "Andreas Maier <maiera@de.ibm.com>, Kathir Velusamy <kathir.velu@in.ibm.com'>",
"keywords": "hmc, prometheus, monitoring",
"author": null,
"author_email": "Juergen Leopold <leopoldj@de.ibm.com>, Andreas Maier <maiera@de.ibm.com>",
"download_url": "https://files.pythonhosted.org/packages/2a/79/6684b189ee9ac2f684759e3c57328239bc5bc4a9aff66aaef9da61f720fd/zhmccli-1.12.0.tar.gz",
"platform": "any",
"description": "# zhmccli - A CLI for the IBM Z HMC, written in pure Python\n\n[![Version on Pypi](https://img.shields.io/pypi/v/zhmccli.svg)](https://pypi.python.org/pypi/zhmccli/)\n[![Test status (master)](https://github.com/zhmcclient/zhmccli/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/zhmcclient/zhmccli/actions/workflows/test.yml?query=branch%3Amaster)\n[![Docs status (master)](https://readthedocs.org/projects/zhmccli/badge/?version=latest)](https://readthedocs.org/projects/zhmccli/builds/)\n[![Test coverage (master)](https://img.shields.io/coveralls/zhmcclient/zhmccli.svg)](https://coveralls.io/r/zhmcclient/zhmccli)\n[![Code Climate](https://codeclimate.com/github/zhmcclient/zhmccli/badges/gpa.svg)](https://codeclimate.com/github/zhmcclient/zhmccli)\n\n# Overview\n\nThe zhmccli package is a CLI written in pure Python that interacts with\nthe Hardware Management Console (HMC) of\n[IBM Z](http://www.ibm.com/systems/z/) or\n[LinuxONE](http://www.ibm.com/systems/linuxone/) machines. The goal of\nthis package is to provide an easy-to-use command line interface for\noperators.\n\nThe zhmccli package uses the API provided by the zhmcclient package,\nwhich interacts with the Web Services API of the HMC. It supports\nmanagement of the lifecycle and configuration of various platform\nresources, such as partitions, CPU, memory, virtual switches, I/O\nadapters, and more.\n\n# Installation\n\nThe quick way:\n\n``` bash\n$ pip install zhmccli\n```\n\nFor more details, see the\n[Installation section](http://zhmccli.readthedocs.io/en/latest/intro.html#installation)\nin the documentation.\n\n# Quickstart\n\nThe following example lists the names of the machines (CPCs) managed by\nan HMC:\n\n``` bash\n$ hmc_host=\"<IP address or hostname of the HMC>\"\n$ hmc_userid=\"<userid on that HMC>\"\n$ zhmc -h $hmc_host -u $hmc_userid cpc list --names-only\nEnter password (for user ... at HMC ...): .......\n+----------+\n| name |\n|----------+\n| P000S67B |\n+----------+\n```\n\n# Documentation\n\n- [Documentation](http://zhmccli.readthedocs.io/en/latest/)\n- [Change log](http://zhmccli.readthedocs.io/en/latest/changes.html)\n\n# Contributing\n\nFor information on how to contribute to this project, see the\n[Development section](http://zhmccli.readthedocs.io/en/latest/development.html)\nin the documentation.\n\n# License\n\nThe zhmccli package is licensed under the\n[Apache 2.0 License](https://github.com/zhmcclient/zhmccli/tree/master/LICENSE).\n",
"bugtrack_url": null,
"license": "Apache License, Version 2.0",
"summary": "A CLI for the IBM Z HMC, written in pure Python",
"version": "1.12.0",
"project_urls": {
"Bug Tracker": "https://github.com/zhmcclient/zhmccli/issues",
"Changelog": "https://zhmccli.readthedocs.io/en/stable/changes.html",
"Documentation": "https://zhmccli.readthedocs.io/en/stable/",
"Homepage": "https://github.com/zhmcclient/zhmccli",
"Source Code": "https://github.com/zhmcclient/zhmccli"
},
"split_keywords": [
"hmc",
" prometheus",
" monitoring"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5393d8f89f3853ef0c72d44fb50c78a001e4858f0758178f10a52a946f232ee4",
"md5": "68942fbf7ce37a01fb874d68279cf7e1",
"sha256": "cc153cc30c6ba01a0eed13ef401284ba00b7613349bacb2d8120f02e6549f9eb"
},
"downloads": -1,
"filename": "zhmccli-1.12.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "68942fbf7ce37a01fb874d68279cf7e1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 166422,
"upload_time": "2024-10-10T10:45:36",
"upload_time_iso_8601": "2024-10-10T10:45:36.099401Z",
"url": "https://files.pythonhosted.org/packages/53/93/d8f89f3853ef0c72d44fb50c78a001e4858f0758178f10a52a946f232ee4/zhmccli-1.12.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2a796684b189ee9ac2f684759e3c57328239bc5bc4a9aff66aaef9da61f720fd",
"md5": "f5d4abed6adeef85cfe11020ad90f3a3",
"sha256": "bfe4b8efcb376a139e57165b20c2a72a01b510f3104e7fda74d0be44d59bd729"
},
"downloads": -1,
"filename": "zhmccli-1.12.0.tar.gz",
"has_sig": false,
"md5_digest": "f5d4abed6adeef85cfe11020ad90f3a3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 222868,
"upload_time": "2024-10-10T10:45:38",
"upload_time_iso_8601": "2024-10-10T10:45:38.048019Z",
"url": "https://files.pythonhosted.org/packages/2a/79/6684b189ee9ac2f684759e3c57328239bc5bc4a9aff66aaef9da61f720fd/zhmccli-1.12.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-10 10:45:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "zhmcclient",
"github_project": "zhmccli",
"travis_ci": true,
"coveralls": true,
"github_actions": true,
"requirements": [],
"tox": true,
"lcname": "zhmccli"
}