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
.rcfiles 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
sourceto your~/.zshrcif 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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b55f612b87f0d98d4a727b5b11d0e8e5d48cd15ae095082fe80b9dca6afa956
|
|
| MD5 |
d82585331b97b60246d1f935c9e40f02
|
|
| BLAKE2b-256 |
d39d558e2b075234a73c7f3b3c38f62072c8c7c501a12e7ff21f9596ed4127d3
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e1c4414ea880d5d6bea3a59905c7e913d0efb61170169b8c16afbda5d97aa5d
|
|
| MD5 |
1ebb09086b97f97f7d728ca564313253
|
|
| BLAKE2b-256 |
cdd20224e1acd15f6b921b5861fa1c353453d81f00e0d60d5fcafd7a55783a74
|