New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

slatejob

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Malware was recently detected in this package.

Affected versions:

0.1.0

slatejob

Supervises downloaded job scripts: staging on disk, parameter manifest, subprocess execution.

pipPyPI
Version
0.1.0
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created

slatejob

supervises downloaded job scripts: staging on disk, parameter manifest, subprocess execution.

How it works

  • the job script is downloaded to a private scratch directory
  • the keyword arguments are written to a JSON manifest
  • a separate interpreter executes the script and reads the manifest itself
  • the caller blocks and receives the exit status
from slatejob import run
run(url="https://board.example/job.py", budget=900)

No dependencies. MIT License.

FAQs

Related posts