# RunRunner - A Python handler for managing (Slurm)Jobs
RunRunner is a wrapper library for creating and managing subprocesses and their status', mainly focussed on using Slurm but (in absence) can also work with local jobs.
## Installation
Installation of the latest version is done using Pip:
pip install RunRunner
## Usage
RunRunner works with 'queues', either the local version or Slurm version. To use RunRunner, simply add the bash call you want to be executed to the queue with:
``add_to_queue''
By specifying Runner (an Enum from base.py), RunRunner determines whether to add to the local queue (local.py) or Slurm (Slurm.py). To check what arguments each queue accepts, see the add_to_queue implementations at the top of each respective file. The call to the queue returns a structured object (a LocalRun or SlurmRun) containing the data regarding the subprocess. A run consists of one or more jobs which will contains the actual subprocess call. To start a run after creation, one can simply .submit the run and .wait for it to be done. To verify if everything went correctly, a .Status is supplied which uses .Status enum from base.py.
## Credits
Developers:
* Thijs Snelleman
* Jeroen Rook
* Koen van der Blom (Inactive)
* Jeremy Gobeil (Original developer, inactive)
Raw data
{
"_id": null,
"home_page": "https://github.com/thijssnelleman/RunRunner",
"name": "RunRunner",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Thijs Snelleman",
"author_email": "fkt_sparkle@aim.rwth-aachen.de",
"download_url": "https://files.pythonhosted.org/packages/9c/c3/e39c9e37206a65c2720f7f18d8959157acc95a3f61fb3714d6f951e2d477/runrunner-0.1.9.1.tar.gz",
"platform": null,
"description": "# RunRunner - A Python handler for managing (Slurm)Jobs\n\nRunRunner is a wrapper library for creating and managing subprocesses and their status', mainly focussed on using Slurm but (in absence) can also work with local jobs.\n\n## Installation\n\nInstallation of the latest version is done using Pip:\n\npip install RunRunner\n\n## Usage\n\nRunRunner works with 'queues', either the local version or Slurm version. To use RunRunner, simply add the bash call you want to be executed to the queue with:\n\n``add_to_queue''\n\nBy specifying Runner (an Enum from base.py), RunRunner determines whether to add to the local queue (local.py) or Slurm (Slurm.py). To check what arguments each queue accepts, see the add_to_queue implementations at the top of each respective file. The call to the queue returns a structured object (a LocalRun or SlurmRun) containing the data regarding the subprocess. A run consists of one or more jobs which will contains the actual subprocess call. To start a run after creation, one can simply .submit the run and .wait for it to be done. To verify if everything went correctly, a .Status is supplied which uses .Status enum from base.py.\n\n\n## Credits\n\nDevelopers:\n* Thijs Snelleman\n* Jeroen Rook\n* Koen van der Blom (Inactive)\n* Jeremy Gobeil (Original developer, inactive)\n",
"bugtrack_url": null,
"license": null,
"summary": "RunRunner is a wrapper library for creating and managing subprocesses and their status, mainly focussed on using Slurm but (in absence) can also work with local jobs.",
"version": "0.1.9.1",
"project_urls": {
"Homepage": "https://github.com/thijssnelleman/RunRunner"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9cc3e39c9e37206a65c2720f7f18d8959157acc95a3f61fb3714d6f951e2d477",
"md5": "bf5f37c72b3b0cd067b8c2d3cdf7f18f",
"sha256": "1b933afa16d201f662665167b59174680547279efd1a6f39a04f7bc44a374feb"
},
"downloads": -1,
"filename": "runrunner-0.1.9.1.tar.gz",
"has_sig": false,
"md5_digest": "bf5f37c72b3b0cd067b8c2d3cdf7f18f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 16119,
"upload_time": "2024-12-20T14:42:18",
"upload_time_iso_8601": "2024-12-20T14:42:18.950109Z",
"url": "https://files.pythonhosted.org/packages/9c/c3/e39c9e37206a65c2720f7f18d8959157acc95a3f61fb3714d6f951e2d477/runrunner-0.1.9.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-20 14:42:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "thijssnelleman",
"github_project": "RunRunner",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "pydantic",
"specs": [
[
"<",
"2.0a"
]
]
},
{
"name": "pytest",
"specs": []
},
{
"name": "flake8",
"specs": []
},
{
"name": "flake8-quotes",
"specs": []
},
{
"name": "pep8-naming",
"specs": []
},
{
"name": "flake8-docstrings",
"specs": []
},
{
"name": "flake8-annotations",
"specs": []
}
],
"lcname": "runrunner"
}