clusterscope
Clusterscope is a CLI and python library to extract information from HPC Clusters and Jobs.
Decision gist · record as of 2026-08-14
Yes, if you manage or work with Slurm-based HPC clusters and need programmatic access to cluster metadata. The low install friction, active maintenance, permissive license, and clean API make it a practical choice for cluster automation and job submission workflows. Not applicable if your cluster uses a different scheduler or if you only need occasional manual cluster queries.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.10.
- Designed for HPC environments with Slurm; functionality depends on cluster availability and proper Slurm configuration.
- Low install friction with only two lightweight runtime dependencies (click and click-option-group).
License · maintenance · safety
permissive license (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.
last release 2026-01-16 (210 days) · last repo commit 2026-07-14 · 24 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 165,008 downloads/mo, #10,532 on PyPI
Alternatives
Verify before relying
pip install clusterscope
import clusterscope
print(clusterscope.cluster())
# Or use the CLI:
# cscope info
# cscope gpus
# cscope cpus- Whether the package works on non-Slurm HPC schedulers (e.g., PBS, LSF) or is Slurm-specific
- Performance characteristics when querying large clusters with many nodes or jobs
- Exact AWS/NCCL diagnostic capabilities and whether they require AWS credentials or specific instance types
What it is and what it does
Clusterscope is a tool for HPC administrators and researchers who need to programmatically or interactively query cluster state. It provides both a Python library and a command-line interface to extract information about nodes, GPUs, CPUs, memory, and job configurations from Slurm-managed clusters. The library can be imported for scripted cluster introspection, while the CLI (`cscope`) offers immediate access to common queries like node resource counts, GPU availability, and AWS environment checks.
The package is lightweight, depending only on click for CLI scaffolding, and targets modern Python (>=3.10). It is actively maintained by Facebook Research and suitable for automation, monitoring integration, and cluster capacity planning workflows where you need to query live cluster state without writing raw Slurm commands.
Use it for
- Query available GPU types and counts across cluster nodes before submitting distributed training jobs
- Programmatically check CPU and memory per node to generate job submission requirements dynamically
- Verify AWS environment and NCCL settings when running on AWS HPC clusters
- Integrate cluster metadata into monitoring dashboards or resource allocation scripts
- Automate cluster health checks and node inventory reporting in CI/CD or deployment pipelines
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you manage or work with Slurm-based HPC clusters and need programmatic access to cluster metadata.
The low install friction, active maintenance, permissive license, and clean API make it a practical choice for cluster automation and job submission workflows. Not applicable if your cluster uses a different scheduler or if you only need occasional manual cluster queries.
Install
clusterscope on PyPI
Before you install
Low install friction with only two lightweight runtime dependencies (click and click-option-group). The package is actively maintained with recent commits and a stable release cadence since mid-2025.
Requires Python >=3.10. Designed for HPC environments with Slurm; functionality depends on cluster availability and proper Slurm configuration.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.
Quickstart
pip install clusterscope
import clusterscope
print(clusterscope.cluster())
# Or use the CLI:
# cscope info
# cscope gpus
# cscope cpus
Verify before relying
- Whether the package works on non-Slurm HPC schedulers (e.g., PBS, LSF) or is Slurm-specific
- Performance characteristics when querying large clusters with many nodes or jobs
- Exact AWS/NCCL diagnostic capabilities and whether they require AWS credentials or specific instance types
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesclickclick-option-group |
| Maintenance | Actively maintained 210 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 165,008 / month, #10,532 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: clusterscope-0.0.32-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “HPC cluster information extraction”
- clusterscopeClusterscope extracts and queries information from HPC clusters and…
- aws-parallelclusterAWS ParallelCluster is a cluster management tool that deploys and…
- submititSubmitit wraps Slurm job submission and monitoring, letting you…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also aws-parallelcluster · slurm-usage · dask-jobqueue · ClusterShell · nccl4py · submitit · nvidia-nccl-cu13 · nvidia-nccl-cu12 · sfctl · skypilot-nightly