{ "info": { "author": "Alexey Strokach", "author_email": "alex.strokach@utoronto.ca", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3.6" ], "description": "# Job Submitter\n\n\n[![conda](https://img.shields.io/conda/dn/ostrokach/jobsubmitter.svg)](https://anaconda.org/ostrokach/jobsubmitter/)\n[![docs](https://img.shields.io/badge/docs-v0.1.0-blue.svg)](https://ostrokach.gitlab.io/jobsubmitter/)\n[![build status](https://gitlab.com/ostrokach/jobsubmitter/badges/master/build.svg)](https://gitlab.com/ostrokach/jobsubmitter/commits/master/)\n[![coverage report](https://gitlab.com/ostrokach/jobsubmitter/badges/master/coverage.svg)](https://gitlab.com/ostrokach/jobsubmitter/commits/master/)\n\nPackage for running jobs on Sun Grid Engine (SGE) / PBS / Slurm clusters.\n\n## Goals\n\n- Provide an easy way to submit batch jobs from within a Jupyter notebook running on one of the nodes in the cluster.\n\n## Example\n\n```python\nfrom jobsubmitter import JobOpts, JobSubmitter\n\nJOB_ID = 'job_0'\n\nENV = {\n 'PATH': '/home/kimlab1/strokach/anaconda/bin:/usr/local/bin:/usr/bin:/bin',\n 'OMP_NUM_THREADS': '1',\n}\n\njo = jobsubmitter.JobOpts(\n job_id=JOB_ID,\n working_dir=Path.cwd(),\n nproc=1,\n queue='medium',\n walltime='24:00:00',\n mem='16G',\n env=ENV,\n)\njs = jobsubmitter.JobSubmitter('localhost')\n\nfutures = js.submit(system_commands, jo, deplay=0.1)\n```\n\n## Contributing\n\n- Make sure all tests pass before merging into master.\n- Follow the PEP8 / PyFlake / Flake8 / etc. guidelines.\n- Add tests for new code.\n- Try to document things.\n- Break any / all of the above if you have a good reason.\n\n\n# History\n\n## 0.0.2 (2018-02-21)\n\n* First release on PyPI.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/ostrokach/jobsubmitter", "keywords": "jobsubmitter", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "jobsubmitter", "package_url": "https://pypi.org/project/jobsubmitter/", "platform": "", "project_url": "https://pypi.org/project/jobsubmitter/", "project_urls": { "Homepage": "https://gitlab.com/ostrokach/jobsubmitter" }, "release_url": "https://pypi.org/project/jobsubmitter/0.1.0/", "requires_dist": [ "Click (>=6.0)" ], "requires_python": "", "summary": "Package for running jobs on Sun Grid Engine (SGE) / PBS / Slurm clusters.", "version": "0.1.0" }, "last_serial": 3606098, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "66edd9b4b0de75ed15563cd4941705ab", "sha256": "cf347e71c89f80306a90b5e57a66afeeca65d593cd68813355975c1298fa6d64" }, "downloads": -1, "filename": "jobsubmitter-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "66edd9b4b0de75ed15563cd4941705ab", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11134, "upload_time": "2018-02-22T17:32:43", "url": "https://files.pythonhosted.org/packages/dc/41/33edca7bba722068d9b86735ec4086cbf3b46f281b14aa57dbfae3e23fc9/jobsubmitter-0.1.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "66edd9b4b0de75ed15563cd4941705ab", "sha256": "cf347e71c89f80306a90b5e57a66afeeca65d593cd68813355975c1298fa6d64" }, "downloads": -1, "filename": "jobsubmitter-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "66edd9b4b0de75ed15563cd4941705ab", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11134, "upload_time": "2018-02-22T17:32:43", "url": "https://files.pythonhosted.org/packages/dc/41/33edca7bba722068d9b86735ec4086cbf3b46f281b14aa57dbfae3e23fc9/jobsubmitter-0.1.0-py2.py3-none-any.whl" } ] }