Metadata-Version: 2.3
Name: pythonpbs
Version: 0.1.2
Summary: Python-based PBS job submission
License: Apache-2
Author: Kâmuran İmran
Author-email: c.mcmenamie@unsw.edu.au
Requires-Python: >=3.9,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: click (>=8.1.8,<9.0.0)
Requires-Dist: loguru (>=0.7.3,<0.8.0)
Requires-Dist: setuptools (>=75.8.2,<76.0.0)
Requires-Dist: sshconf (>=0.2.7,<0.3.0)
Description-Content-Type: text/markdown

# PyBS


## Installation 

`pip install pybs` 

## SSH Configuration 

OpenSSH 

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

```
Create directory 
```bash
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 

```zsh
cat << EOF >> ~/.zprofile
# Add Visual Studio Code (code)
export PATH="\$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
EOF
```
##### Bash
```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

```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.  
#### Bash 
```bash
_PYBS_COMPLETE=bash_source pybs > ~/.pybs-complete.bash
```
Add the following to your `~/.bashrc`:
```bash
. ~/.pybs-complete.bash
```
#### Fish 
```fish
_PYBS_COMPLETE=fish_source pybs > ~/.config/fish/completions/pybs.fish
```

