Skip to main content

Collection of utilities for parsing the SLURM Completed Logs file.

Project description

SLURM Completed Logs Utils

Collection of utilities for processing SLURM Completed Logs

Usage

pip install slurm-completed-logs-utils

Integrate into your code:

from slurm_completed_logs_utils import SlurmCompletedLogsParser as Parser

infile = "/mnt/slurm/slurm_completed_jobs.log"
parser = Parser()
records = parser.get_records(infile)
for record in records:
    print(f"job id: {record.jobid} status: {record.jobstate} name: {record.name}")

Exported console script

  • slurm-log-to-sqlite: Convert SLURM Completed Logs to SQLite database

History

0.1.0 (2024-08-01)

  • First release on PyPI.

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

slurm_completed_logs_utils-0.4.1.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

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

slurm_completed_logs_utils-0.4.1-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file slurm_completed_logs_utils-0.4.1.tar.gz.

File metadata

File hashes

Hashes for slurm_completed_logs_utils-0.4.1.tar.gz
Algorithm Hash digest
SHA256 9ccfc03314d5dca0b247937f0a78288b3e5c79b8f01df37e9a61b4cd2135c04e
MD5 794758b56efc8ad2489cacb436c63c28
BLAKE2b-256 3366fcdf1ac2614c7ae160b2b1f93ab7ba8547fd5bdd6762f183790f6d3a2d18

See more details on using hashes here.

File details

Details for the file slurm_completed_logs_utils-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for slurm_completed_logs_utils-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 afb1414b68ddb44b10916dca65da2e5fc54bca1fe21e87045b96567608e585a5
MD5 efa494f410217d4390fa03bbcf51f80f
BLAKE2b-256 3c2120c026708d2e4802a8003b3f0b963f877e36ae49de57a3db173c0e7d4e2f

See more details on using hashes here.

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