{ "info": { "author": "Brent Pedersen", "author_email": "bpederse@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "quick and dirty lib for submitting jobs to slurm via python2/python3.\n\n```Python\nfrom slurmpy import Slurm\n\ns = Slurm(\"job-name\", {\"account\": \"my-account\", \"partition\": \"my-parition\"})\ns.run(\"\"\"\ndo\nlots\nof\nstuff\n\"\"\")\n\n```\n\nThe above will submit the job to `sbatch` automatically write the script to `scripts/`\nand automatically write logs/{name}.err and logs/{name}.out. It will have today's\ndate in the log and script names.\n\nThe script to run() can also contain `$variables` which are filled with the cmd_kwarg dict.\nE.g. `echo $name` could be filled with `cmd_kwargs={'name': 'sally'}`\n\nA command can be tested (not sent to queue) by setting the `_cmd` are to `run` as e.g. \"ls\".\nThe default is `sbatch` which submits jobs to slurm.\n\nDependencies\n============\n\nEach time `slurmpy.Slurm().run()` is called, it returns the job-id of the submitted job. This\ncan then be sent to a subsequent job:\n```\ns = Slurmp()\ns.run(..., depends_on=[job_id])\n\n```\nto indicate that this job should not run until the the job with `job_id` has finished successfully.\n\nInstall\n=======\n\n```Shell\npip install slurmpy --user\n```\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/brentp/slurmpy", "keywords": "cluster slurmpy", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "slurmpy", "package_url": "https://pypi.org/project/slurmpy/", "platform": "", "project_url": "https://pypi.org/project/slurmpy/", "project_urls": { "Homepage": "https://github.com/brentp/slurmpy" }, "release_url": "https://pypi.org/project/slurmpy/0.0.7/", "requires_dist": null, "requires_python": "", "summary": "submit jobs to slurm with python", "version": "0.0.7" }, "last_serial": 2661389, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "99b4d341c9fbab0af58e1553b3a1bdd6", "sha256": "16c28aafafaee55a3792269233373e46271a5ce74534db2bdbf019583f0cab38" }, "downloads": -1, "filename": "slurmpy-0.0.1.tar.gz", "has_sig": false, "md5_digest": "99b4d341c9fbab0af58e1553b3a1bdd6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2558, "upload_time": "2015-05-22T17:51:01", "url": "https://files.pythonhosted.org/packages/d4/21/244a395d59fde5c319c7c0e5453c104e81f9f1362a978c781b784840b696/slurmpy-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "64f51230998c75cb4baccd185ebd8335", "sha256": "b2e7424ba3fc773793e97d9cd40672d36dbc63981f05805ac7b5492bbebe647e" }, "downloads": -1, "filename": "slurmpy-0.0.2.tar.gz", "has_sig": false, "md5_digest": "64f51230998c75cb4baccd185ebd8335", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2671, "upload_time": "2015-05-22T17:51:52", "url": "https://files.pythonhosted.org/packages/6d/e1/414415df13294c9b0af4dc615613bfbfdc6c16d7d6224224c6df8158d788/slurmpy-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "4e35f001c8e69647a9548a16604b59ff", "sha256": "0f4052fd61508440d42ff6800440dff551705cce23262c69102caa7bccf6d595" }, "downloads": -1, "filename": "slurmpy-0.0.3.tar.gz", "has_sig": false, "md5_digest": "4e35f001c8e69647a9548a16604b59ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2874, "upload_time": "2015-05-22T18:17:19", "url": "https://files.pythonhosted.org/packages/ca/63/8ad3949d986eb5a389d9a4be1398ef0696d92cac69c7018b75de1d2842f7/slurmpy-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "abdd43493a9ce551f4c3f52bf15e96de", "sha256": "975416ad0150682a31b1a4381cb2f324332078def3e73da30b36633567af6a5e" }, "downloads": -1, "filename": "slurmpy-0.0.4.tar.gz", "has_sig": false, "md5_digest": "abdd43493a9ce551f4c3f52bf15e96de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3145, "upload_time": "2015-05-26T13:48:39", "url": "https://files.pythonhosted.org/packages/77/e1/bae30a7c867895aa23426fb6b251b6a6b9b0869201445462db3df032897a/slurmpy-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "f1651e3a5774c5830dfba1568174578e", "sha256": "5a747c44b6ea3790df32022458ce7b9f1df6af10898ebf32d3d279a0a7587f87" }, "downloads": -1, "filename": "slurmpy-0.0.5.tar.gz", "has_sig": false, "md5_digest": "f1651e3a5774c5830dfba1568174578e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3289, "upload_time": "2016-10-06T16:44:43", "url": "https://files.pythonhosted.org/packages/e2/a7/020e08e522123194030ecd98f6b674ea8d84d70bc64ffc25456b12e06338/slurmpy-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "f90b3e3739142c2afda1177c2121674a", "sha256": "26a093237f2eaa9aba1e5df6c3283182e55dfdedc5433fa79530eba83e19aba0" }, "downloads": -1, "filename": "slurmpy-0.0.6.tar.gz", "has_sig": false, "md5_digest": "f90b3e3739142c2afda1177c2121674a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3576, "upload_time": "2017-02-11T16:20:45", "url": "https://files.pythonhosted.org/packages/6a/07/6e38748832515fc3178e257db5a0eebe678b3a59f2cf3df91463df7c7a0c/slurmpy-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "3089c0ad011c91261d1bea0992d18599", "sha256": "5c8f5df7a8104d76f66ab2fcaf61220b4605f3bf53f85f4f3ba80f98a5b15cfd" }, "downloads": -1, "filename": "slurmpy-0.0.7.tar.gz", "has_sig": false, "md5_digest": "3089c0ad011c91261d1bea0992d18599", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3614, "upload_time": "2017-02-22T19:23:27", "url": "https://files.pythonhosted.org/packages/8c/7c/208c2d8a44a9a994c55e6b5e96dba2076eb051d2ec3411d44cf86f2d6ec1/slurmpy-0.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3089c0ad011c91261d1bea0992d18599", "sha256": "5c8f5df7a8104d76f66ab2fcaf61220b4605f3bf53f85f4f3ba80f98a5b15cfd" }, "downloads": -1, "filename": "slurmpy-0.0.7.tar.gz", "has_sig": false, "md5_digest": "3089c0ad011c91261d1bea0992d18599", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3614, "upload_time": "2017-02-22T19:23:27", "url": "https://files.pythonhosted.org/packages/8c/7c/208c2d8a44a9a994c55e6b5e96dba2076eb051d2ec3411d44cf86f2d6ec1/slurmpy-0.0.7.tar.gz" } ] }