Skip to main content

Python-based PBS job submission

Project description

PyBS

Installation

pip install pythonpbs

SSH Configuration

OpenSSH

Host *
	ControlMaster auto
	ControlPath ~/.ssh/controlmasters/%r@%h:%p
	ControlPersist yes

Create directory

mkdir -p ~/.ssh/controlmasters

VScode

To use the launch command, you will need to have VS code added to your $PATH.

Using command palette

In VS code, open the command palette (Cmd+Shift+P), type "shell command", and run the Shell Command: Install 'code' command in PATH command.

Manually configure the path

Zsh
cat << EOF >> ~/.zprofile
# Add Visual Studio Code (code)
export PATH="\$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
EOF
Bash
cat << EOF >> ~/.bash_profile
# Add Visual Studio Code (code)
export PATH="\$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
EOF

Restart your shell to register your changes. You can check with which code.

Enable tab completion for Bash, Fish, or Zsh

After modifying .rc files for your shell, you may have to restart the shell to enable completions.

Zsh

_PYBS_COMPLETE=zsh_source pybs > ~/.zsh/pybs-complete.zsh

NOTE: you may have to add source to your ~/.zshrc if this does not work.

Oh My Zsh

mkdir $ZSH_CUSTOM/plugins/pybs
pybs completions zsh > $ZSH_CUSTOM/plugins/pybs/_pybs

You must then add pybs to your plugins array in ~/.zshrc:

plugins(
	pybs
	...
)

Bash

_PYBS_COMPLETE=bash_source pybs > ~/.pybs-complete.bash

Add the following to your ~/.bashrc:

. ~/.pybs-complete.bash

Fish

_PYBS_COMPLETE=fish_source pybs > ~/.config/fish/completions/pybs.fish

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

pythonpbs-0.1.3.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

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

pythonpbs-0.1.3-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file pythonpbs-0.1.3.tar.gz.

File metadata

  • Download URL: pythonpbs-0.1.3.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Darwin/24.3.0

File hashes

Hashes for pythonpbs-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3b55f612b87f0d98d4a727b5b11d0e8e5d48cd15ae095082fe80b9dca6afa956
MD5 d82585331b97b60246d1f935c9e40f02
BLAKE2b-256 d39d558e2b075234a73c7f3b3c38f62072c8c7c501a12e7ff21f9596ed4127d3

See more details on using hashes here.

File details

Details for the file pythonpbs-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pythonpbs-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Darwin/24.3.0

File hashes

Hashes for pythonpbs-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1e1c4414ea880d5d6bea3a59905c7e913d0efb61170169b8c16afbda5d97aa5d
MD5 1ebb09086b97f97f7d728ca564313253
BLAKE2b-256 cdd20224e1acd15f6b921b5861fa1c353453d81f00e0d60d5fcafd7a55783a74

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