Skip to main content

Common tools used by Yan

Project description

Setup Guide

  1. Get webhook from your Feishu Bot.

  2. Export and set webhook 'JOBS_SUPERVISOR_WEBHOOK' in your ~/.basrc. For example: export JOBS_SUPERVISOR_WEBHOOK=https://open.feishu.cn/your-webhook

  3. Export and set the directory 'JOBS_SUPERVISOR_LOGDIR' to save your sbatch output in your ~/.basrc. For example: export JOBS_SUPERVISOR_LOGDIR=path_to_log_files

  4. Run source ~/.basrc

  5. (Optional) Create an enviornment for the tools by conda create -n env_tools python=3.8

  6. Activate your enviornment by conda activate env_tools

  7. Install this python package in the enviornment by pip3 install -i https://pypi.org/project/ jobs-supervisor

Usage

Assume 'jobid_start' and 'jobid_end' are int.

  1. Activate your enviornment by conda activate env_tools

  2. In terminal: supervise_jobs jobid_start jobid_end

  3. You can run supervise_jobs --help for more configs

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

jobs_supervisor-0.2.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

jobs_supervisor-0.2.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file jobs_supervisor-0.2.2.tar.gz.

File metadata

  • Download URL: jobs_supervisor-0.2.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.3

File hashes

Hashes for jobs_supervisor-0.2.2.tar.gz
Algorithm Hash digest
SHA256 209113b1280f946f78143985622c5b6428fa519cc9391b6a6b567686884d0043
MD5 d6507895e1392511872915acd15b7d12
BLAKE2b-256 73a69268456170e602849612318c3097c6656a4a9b281c29520a0ca635b90667

See more details on using hashes here.

File details

Details for the file jobs_supervisor-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for jobs_supervisor-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6829fb6d2412ab458bd655a531cebf22db274280bf4688f83c6286cc01f8e1d1
MD5 7665692be496435936403de74161b1c9
BLAKE2b-256 61eacba715e60bb7eee8e2aefb79f3c2ac63c9988cee7d7134440d84d9be3a83

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page