Skip to main content

ClusterShell is an event-based Python library to execute commands on local or distant cluster nodes in parallel depending on the selected engine and worker mechanisms. The library provides also advanced nodeset and node groups handling methods. Its goal is to improve the administration of cluster by providing a lightweight but scalable API for developers.

User tools

ClusterShell also provides with the library three convenient Python command-line programs:

  • clush: issue commands to cluster nodes and format output

Example of use:

$ clush -abL uname -r
node[32-49,51-71,80,82-150,156-159]: 2.6.18-164.11.1.el5
node[3-7,72-79]: 2.6.18-164.11.1.el5_lustre1.10.0.36
node[2,151-155]: 2.6.31.6-145.fc11.2.x86_64

See man clush for more details.

  • clubak: improved dshbak to gather and sort dsh-like outputs

See man clubak for more details.

  • nodeset: compute advanced nodeset operations

Examples of use:

$ echo node160 node161 node162 node163 | nodeset -f
node[160-163]

$ nodeset -f node[0-7,32-159] node[160-163]
node[0-7,32-163]

$ nodeset -e node[160-163]
node160 node161 node162 node163

$ nodeset -f node[32-159] -x node33
node[32,34-159]

$ nodeset -f node[32-159] -i node[0-7,20-21,32,156-159]
node[32,156-159]

$ nodeset -f node[33-159] --xor node[32-33,156-159]
node[32,34-155]

$ nodeset -l
@oss
@mds
@io
@compute

$ nodeset -e @mds
node6 node7

See man nodeset for more details.

Please visit the ClusterShell website.

Metadata

Release files for ClusterShell 1.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ClusterShell 1.5.1
File Size Uploaded Provenance Actions
clustershell-1.5.1.tar.gz 159.5 kB Without provenance Details for clustershell-1.5.1.tar.gz

Release files / clustershell-1.5.1.tar.gz

Download URL clustershell-1.5.1.tar.gz
Size 159.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5358dacc220de89f6f5c09f81f0ad41cdbed8ef46ea3efda6ce1b02637596622
BLAKE2b-256 checksum
How to use checksums
3f92f633c05dc6bb4053f07415b9298406896dcbf5820decf56d4d01974f2045
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ClusterShell 1.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page