Metadata-Version: 2.1
Name: slurm-jupyter-kernel
Version: 0.1
Summary: Starting a jupyter kernel using srun
Home-page: https://github.com/mawigh/slurm_jupyter_kernel
Author: Marcel-Brian Wilkowsky
Author-email: marcel.wilkowsky@hotmail.de
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/mawigh/slurm_jupyter_kernel/issues
Description: # SLURM Jupyter Kernel
        
        Create jupyter kernels and run kernel using srun
        
        ## Installation
        
        ### Clone Repository
        
        ```bash
        git clone https://github.com/mawigh/slurm_jupyter_kernel.git
        ```
        
        ### Install using pip
        
        ```bash
        python3 -m pip install -e slurm_jupyter_kernel/
        ```
        ## Create a new kernel
        
        ### Get help
        
        ```bash
        $ slurmkernel --help
        
        usage: Adding jupyter kernels using slurm [-h] {create} ...
        
        positional arguments:
          {create}
            create    create a new slurm kernel
        
        optional arguments:
          -h, --help  show this help message and exit
        
        ```
        
        ### Example
        
        ```bash
        $ slurmkernel create --displayname="Python 3.8.0" --account=hpc-group --time=00:30:00 --kernel-cmd="python3 -m ipykernel_launcher -f {connection_file}" --partition=batch
        
        Try to create new jupyter slurm kernel "Python 3.8.0" ...
        {
          "argv": [
            "/usr/bin/python3",
            "-m",
            "slurm_jupyter_kernel",
            "--partition",
            "batch",
            "--account",
            "hpc-group",
            "--time",
            "00:30:00",
            "--kernel-cmd",
            "python3 -m ipykernel_launcher -f {connection_file}",
            "--connection-file",
            "{connection_file}"
          ],
          "display_name": "SLURM Python 3.8.0"
        }
        
        Successfully created kernel "SLURM Python 3.8.0" :-)
        
        ```
        
        
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/markdown
