Skip to main content

slrm

Python library to submit slurm jobs.

Installation:

pip install git+https://github.com/vzhong/slrm

Usage:

import os
import slrm

for city, state in [('vancouver', 'bc'), ('toronto', 'on'), ('stanford', 'ca'), ('seattle', 'wa')]:
    cmd = 'python myscript.py --city {} --state {}'.format(city, state)
    slurm_kwargs = {'account': 'cse', 'partition': 'cse-gpu'}
    # you can see default args in slrm.launcher.default_args
    slrm.launch(cmd, slurm_kwargs, dout=os.path.join('jobs', '{}-{}'.format(city, state)), dry=False)

Pull requests welcome!

Metadata

Release files for slrm 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slrm 0.0.1
File Size Uploaded Provenance Actions
slrm-0.0.1.tar.gz 3.4 kB Without provenance Details for slrm-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for slrm 0.0.1
File Interpreter ABI Platform Actions
slrm-0.0.1-py3-none-any.whl Python 3 none any Details for slrm-0.0.1-py3-none-any.whl

Total release size: 6.8 kB

Release files / slrm-0.0.1.tar.gz

Download URL slrm-0.0.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f3b17094233aa3b48dde47d59ca2a072f758bb081b622387556c2224c3cdd9ce
BLAKE2b-256 checksum
How to use checksums
2d23e562127aafbb1bfd5a39ea1eddc80f5f4de8b16ae5fe47d14b7e289e8e74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

Release files / slrm-0.0.1-py3-none-any.whl

Download URL slrm-0.0.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f576a5e6a6bc1164322340fedbdcbef159ee0054031c2402c7f6b2fa7aa1ce98
BLAKE2b-256 checksum
How to use checksums
c85e1aa961754180c8a24194352e6cbcc634af2a52c2953f11d64e7aa301a0f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

Security for slrm 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page