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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file slurm_completed_logs_utils-0.4.1.tar.gz.
File metadata
- Download URL: slurm_completed_logs_utils-0.4.1.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ccfc03314d5dca0b247937f0a78288b3e5c79b8f01df37e9a61b4cd2135c04e
|
|
| MD5 |
794758b56efc8ad2489cacb436c63c28
|
|
| BLAKE2b-256 |
3366fcdf1ac2614c7ae160b2b1f93ab7ba8547fd5bdd6762f183790f6d3a2d18
|
File details
Details for the file slurm_completed_logs_utils-0.4.1-py3-none-any.whl.
File metadata
- Download URL: slurm_completed_logs_utils-0.4.1-py3-none-any.whl
- Upload date:
- Size: 27.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afb1414b68ddb44b10916dca65da2e5fc54bca1fe21e87045b96567608e585a5
|
|
| MD5 |
efa494f410217d4390fa03bbcf51f80f
|
|
| BLAKE2b-256 |
3c2120c026708d2e4802a8003b3f0b963f877e36ae49de57a3db173c0e7d4e2f
|