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

The Fractal project is developed by the BioVisionCenter at the University of Zurich, who contracts eXact lab s.r.l. for software engineering and development support.

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.1a2.tar.gz (16.6 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.1a2-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fractal_slurm_tools-0.3.1a2.tar.gz
  • Upload date:
  • Size: 16.6 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.1a2.tar.gz
Algorithm Hash digest
SHA256 3ca5bbe30fb3c9dcb10d988764267e9f094e27025152a2b2d86dfe991268652b
MD5 085218fcfb582c99c59ad8d4d96f4e75
BLAKE2b-256 06f8eb71ab6c36c8e408d0008c64fc45702d94eec49597234106d2d660a8c678

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fractal_slurm_tools-0.3.1a2-py3-none-any.whl
Algorithm Hash digest
SHA256 67e635c349fdbae913c9a6ec12aa24cbfdf6c22bf8916fe3cf0393ac5c320756
MD5 b974f3d4f920ad67252ee14d33d76c4e
BLAKE2b-256 d175ff561aeb955191d6754e5369c3de0a54d064d79b96c6e47748d3394c5133

See more details on using hashes here.

Provenance

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