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:

# Latest PyPI release
$ pipx run fractal-slurm-tools
$ uvx fractal-slurm-tools

# Specific PyPI release
$ pipx run fractal-slurm-tools==0.0.3
$ uvx fractal-slurm-tools==0.0.3

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

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

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

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.0.22.tar.gz (12.2 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.0.22-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file fractal_slurm_tools-0.0.22.tar.gz.

File metadata

  • Download URL: fractal_slurm_tools-0.0.22.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fractal_slurm_tools-0.0.22.tar.gz
Algorithm Hash digest
SHA256 ba03542f2346e0ecf7772ef337678ebac3cb02ea2b5c54b5cae2b6c1a79f15b7
MD5 93cbce0bb285f521bdd9e1283f0f9cf8
BLAKE2b-256 75b2391d4a0adbe0ce261883c6843dce4ec971ac8efd8aad044fa1c1856422f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for fractal_slurm_tools-0.0.22.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.0.22-py3-none-any.whl.

File metadata

File hashes

Hashes for fractal_slurm_tools-0.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 4a294ad8c23222d1ea53e7d07b13e79a7626bf6e17db31683acd4a4b2b9ade6f
MD5 9a9a25d56fb9d7cf11b3c822f4095ed1
BLAKE2b-256 b6ebc1f09456e54f1538cfc038555ba814f74e9c38a59a8a09e91fe3f4d73c73

See more details on using hashes here.

Provenance

The following attestation bundles were made for fractal_slurm_tools-0.0.22-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