{ "info": { "author": "Wijnand Modderman", "author_email": "maze@pyth0n.org", "bugtrack_url": null, "classifiers": [], "description": "============\n python-run\n============\n\nThis module provides convenient ways to guarantee a certain script\nstate. \n\n``run.alone``\n=============\n\nMake sure only one instance of the program is running,\nthis is done by acquiring an fcntl file lock on the\ncurrent script:\n\n >>> import run.alone\n\nCaveats\n-------\n\nThere are a few things to keep in mind:\n\n1. import run.alone once, it will exit your program if it gets\n imported twice\n\n2. symlinked scripts will be resolved to the inode it has been\n linked to, this is a limitiation of using fcltn file locks\n\n``run.until``\n=============\n\nRun until a specified timespec, if the process runs\nlonger, it will be killed:\n\n >>> import run\n >>> run.until('23m42s')\n >>> ...\n\nYou can also choose to limit on the amount of CPU-time\nbeing consumed (default is wall clock time):\n\n >>> run.until('42s', 'cpu')\n >>> ...\n\nAcknowledgements\n================\n\nThis module is dirived from the `Sys::RunAlone`_ and \n`Sys::RunUntil`_ perl modules written by `Elizabeth Mattijsen`_.\n\n.. _Sys::RunAlone: http://search.cpan.org/~elizabeth/Sys-RunAlone/\n.. _Sys::RunUntil: http://search.cpan.org/~elizabeth/Sys-RunUntil/\n.. _Elizabeth Mattijsen: http://search.cpan.org/~elizabeth/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://freecode.nl/~maze/python-run/", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "run", "package_url": "https://pypi.org/project/run/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/run/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://freecode.nl/~maze/python-run/" }, "release_url": "https://pypi.org/project/run/0.2/", "requires_dist": null, "requires_python": null, "summary": "Python Process Run Control", "version": "0.2" }, "last_serial": 799139, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "4a3aaeead9c229a27200e22e80526f19", "sha256": "c902e80f42948cd95ff6d5a35703a4cec6fa516db9142c600660e7cbce3657b0" }, "downloads": -1, "filename": "run-0.1-py2.6.egg", "has_sig": false, "md5_digest": "4a3aaeead9c229a27200e22e80526f19", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 7162, "upload_time": "2010-04-09T22:48:39", "url": "https://files.pythonhosted.org/packages/fd/e3/fa0cbe26e0510ecd54b484b57edd058fd5c91b07dfc57143edebbc9ab625/run-0.1-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "08ba5933e6d5d1d4043aa56223e0f995", "sha256": "e8c608fa03c99134ba52146910fb3485fe8e534b7ef04064d4d78552367392ff" }, "downloads": -1, "filename": "run-0.1.tar.gz", "has_sig": false, "md5_digest": "08ba5933e6d5d1d4043aa56223e0f995", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2995, "upload_time": "2010-04-09T22:48:39", "url": "https://files.pythonhosted.org/packages/a5/2a/762d257bf21bd095868ec1bc92924f826495dff16edbf01d18b9ae29db06/run-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "9a805b91445314c7a5ccbe7a40c6414b", "sha256": "6a0a0273d6d41868d4656239e40fe22599e90148697b5ee7acc54d94b5eeddf4" }, "downloads": -1, "filename": "run-0.2.tar.gz", "has_sig": false, "md5_digest": "9a805b91445314c7a5ccbe7a40c6414b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3198, "upload_time": "2010-04-22T17:08:30", "url": "https://files.pythonhosted.org/packages/76/d7/6e741452317b9b46ae25515ccc273e3d163618a63c5d69c98786fe0d6e7b/run-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9a805b91445314c7a5ccbe7a40c6414b", "sha256": "6a0a0273d6d41868d4656239e40fe22599e90148697b5ee7acc54d94b5eeddf4" }, "downloads": -1, "filename": "run-0.2.tar.gz", "has_sig": false, "md5_digest": "9a805b91445314c7a5ccbe7a40c6414b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3198, "upload_time": "2010-04-22T17:08:30", "url": "https://files.pythonhosted.org/packages/76/d7/6e741452317b9b46ae25515ccc273e3d163618a63c5d69c98786fe0d6e7b/run-0.2.tar.gz" } ] }