clusterscope-0.0.9
توضیحات
Clusterscope is a CLI and python library to extract information from HPC Clusters and Jobs.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | clusterscope-0.0.9 |
| نام | clusterscope |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Lucca Bertoncini <luccab@meta.com>, Kalyan Saladi <skalyan@meta.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/clusterscope/ |
| مجوز | MIT License Copyright (c) 2020 Facebook Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
# Clusterscope
Clusterscope is a CLI and python library to extract information from HPC Clusters and Jobs.
Check out our [Website](https://facebookresearch.github.io/clusterscope/) for Getting Started and Documentation.
## Install from pypi
```bash
$ pip install clusterscope
```
You can use it as a python library:
```bash
$ python
>>> import clusterscope
>>> clusterscope.cluster()
'<your-cluster-name>'
```
You can also use it as a CLI:
```shell
$ cscope
Usage: cscope [OPTIONS] COMMAND [ARGS]...
Command-line tool to query Slurm cluster information.
Options:
--help Show this message and exit.
Commands:
aws Check if running on AWS and show NCCL settings.
check-gpu Check if a specific GPU type exists.
cpus Show CPU counts per node.
gpus Show GPU information.
info Show basic cluster information.
job-gen Generate job requirements for different job types.
mem Show memory information per node.
version Show the version of clusterscope.
```
## Contributing
Read our contributing guide to learn about our development process, how to propose bugfixes and feature requests, and how to build your changes.
### [Code of Conduct](https://code.fb.com/codeofconduct)
Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please read [the full text](https://code.fb.com/codeofconduct) so that you can understand what actions will and will not be tolerated.
## Maintainers
clusterscope is actively maintained by [Lucca Bertoncini](https://github.com/luccabb), and [Kalyan Saladi](https://github.com/skalyan).
## Contributors
[Lucca Bertoncini](https://github.com/luccabb), [Kalyan Saladi](https://github.com/skalyan), [Nikhil Gupta](https://github.com/gunchu), [Misko Dzamba](https://github.com/misko), <Feel free to contribute and add your name>
### License
clusterscope is licensed under the [MIT](./LICENSE) license.
## Citing Clusterscope
```
@Misc{
author = {Lucca Bertoncini, and Kalyan Saladi},
title = {Clusterscope - Tooling for extracting HPC Cluster and Jobs information. },
howpublished = {Github},
year = {2025},
url = {https://github.com/facebookresearch/clusterscope}
}
```
نیازمندی
| مقدار | نام |
|---|---|
| - | click!=8.3.0,>=8.0.0 |
| - | click-option-group |
| xtr | flake8; |
| xtr | black; |
| xtr | ufmt; |
| xtr | usort; |
| xtr | mypy; |
| xtr | pre-commit; |
| xtr | build; |
| xtr | types-click; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl clusterscope-0.0.9:
pip install clusterscope-0.0.9.whl
نصب پکیج tar.gz clusterscope-0.0.9:
pip install clusterscope-0.0.9.tar.gz