Skip to main content

Shared tools for parsing&processing SLURM data

Project description

fractal-slurm-tools

PyPI version License

You can run a version of this tool from PyPI or GitHub, either via pipx or uvx.

Examples (the CLI entrypoint must be one of fractal-slurm-aggregate fractal-slurm-parse-bulk or fractal-slurm-parse-single-job):

# Latest PyPI release
$ pipx run --spec fractal-slurm-tools <entrypoint>
$ uvx --from fractal-slurm-tools <entrypoint>

# Specific PyPI release
$ pipx run --spec fractal-slurm-tools==0.1.0 <entrypoint>
$ uvx --from fractal-slurm-tools==0.1.0 <entrypoint>

# Latest git commit on the default branch
$ pipx run --spec git+https://github.com/fractal-analytics-platform/fractal-slurm-tools.git <entrypoint>
$ uvx --from git+https://github.com/fractal-analytics-platform/fractal-slurm-tools.git <entrypoint>

# Specific git commit
$ pipx run --spec git+https://github.com/fractal-analytics-platform/fractal-slurm-tools.git@3faeefd0eac0f53c6c73d2e3179b10ff2a111793 <entrypoint>
$ uvx --from git+https://github.com/fractal-analytics-platform/fractal-slurm-tools.git@3faeefd0eac0f53c6c73d2e3179b10ff2a111793 <entrypoint>

# Specific git branch
$ pipx run --spec git+https://github.com/fractal-analytics-platform/fractal-slurm-tools.git@main <entrypoint>
$ uvx --from git+https://github.com/fractal-analytics-platform/fractal-slurm-tools.git@main <entrypoint>

A useful sacct command

sacct --format='JobID%18,JobName%18,State,ReqMem,MaxRSS,AveRSS,Elapsed,NCPUS,CPUTimeRaw,MaxDiskRead,MaxDiskWrite' -j XXXX

Development

$ python -m venv venv
$ source venv/bin/activate
$ python -m pip install -e .[dev]
[...]
$ pre-commit install
pre-commit installed at .git/hooks/pre-commit

# Run mypi
$ python -m mypy ./src

# Make a release
$ bumpver update --patch --dry

Contributors and license

Fractal was conceived in the Liberali Lab at the Friedrich Miescher Institute for Biomedical Research and in the Pelkmans Lab at the University of Zurich by @jluethi and @gusqgm. The Fractal project is now developed at the BioVisionCenter at the University of Zurich and the project lead is with @jluethi. The core development is done under contract by eXact lab S.r.l..

Unless otherwise specified, Fractal components are released under the BSD 3-Clause License, and copyright is with the BioVisionCenter at the University of Zurich.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fractal_slurm_tools-0.3.1a0.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fractal_slurm_tools-0.3.1a0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file fractal_slurm_tools-0.3.1a0.tar.gz.

File metadata

  • Download URL: fractal_slurm_tools-0.3.1a0.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fractal_slurm_tools-0.3.1a0.tar.gz
Algorithm Hash digest
SHA256 724e6f9c2ed89ed4dd41c401f78a7166b8e62d7359a051dfc92b2b1bad6d6546
MD5 7f3492db3cac68709b0ed678b019eb7b
BLAKE2b-256 d355847ee7bb11d00052fdceff78453deaf321634e2043dc66940900fb3dcb1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for fractal_slurm_tools-0.3.1a0.tar.gz:

Publisher: publish_to_pypi.yml on fractal-analytics-platform/fractal-slurm-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fractal_slurm_tools-0.3.1a0-py3-none-any.whl.

File metadata

File hashes

Hashes for fractal_slurm_tools-0.3.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 1e0d9c5d93e25ed1fdffd427704caab5adac0f00ba462a62c9b92d4f8caa1289
MD5 481d19460a24e254e7b25b2e571e4b8a
BLAKE2b-256 c1bf0c47ba6259c85da734eeeee467028b90db5badf4b869d7f217a90ee6c4e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for fractal_slurm_tools-0.3.1a0-py3-none-any.whl:

Publisher: publish_to_pypi.yml on fractal-analytics-platform/fractal-slurm-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page