{ "info": { "author": "Dylan Stephano-Shachter", "author_email": "dstephanoshachter@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "WARNING: This library requires python 3.8\n\n# Fastprocess\nA fast subprocess library\n\n## Usage\nSpawning a process with fastprocess is very easy\n```\nIn [1]: from fastprocess import FastProcess\n\nIn [2]: pid = FastProcess(['echo', 'hello', 'world'])\n\nhello world\nIn [3]: pid.wait()\nOut[3]: 0\n\n```\nYou can redirect io using the stdin, stdout, and stderr options\n```\nIn [4]: null = open('/dev/null', 'w')\n\nIn [5]: pid = FastProcess(['yes'], stdout=null)\n\nIn [6]: pid.terminate()\n```\n\n## FastProcess methods\nterminate(): \nSends SIGTERM to the process\n\nkill(sig): \nSends signal 'sig' to the process\n\nwait(): \nWaits for the process to exit then returns the exit code\n\n## Performance\nHere are the results of running ./benchmark/bench\n```\n---------------------------------------------------\n10000 spawns with fork and exec...\n\nreal\t0m2.157s\nuser\t0m0.048s\nsys\t0m2.104s\n---------------------------------------------------\n10000 spawns with fastprocess...\n\nreal\t0m2.598s\nuser\t0m1.225s\nsys\t0m0.356s\n---------------------------------------------------\n10000 spawns with subprocess...\n\nreal\t0m12.211s\nuser\t0m7.832s\nsys\t0m9.072s\n---------------------------------------------------\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dstathis/fastprocess", "keywords": "", "license": "LGPL", "maintainer": "", "maintainer_email": "", "name": "fastprocess", "package_url": "https://pypi.org/project/fastprocess/", "platform": "", "project_url": "https://pypi.org/project/fastprocess/", "project_urls": { "Homepage": "https://github.com/dstathis/fastprocess" }, "release_url": "https://pypi.org/project/fastprocess/2.0.0/", "requires_dist": null, "requires_python": ">=3.8", "summary": "A fast subprocess library", "version": "2.0.0", "yanked": false, "yanked_reason": null }, "last_serial": 8001749, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "39d13bc947972bd7efedb4c9e99174d3", "sha256": "aa7f067061d428de64061dad94969a36b962eb75acec9415347e7c20e49238da" }, "downloads": -1, "filename": "fastprocess-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "39d13bc947972bd7efedb4c9e99174d3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5159, "upload_time": "2019-01-19T22:37:36", "upload_time_iso_8601": "2019-01-19T22:37:36.713891Z", "url": "https://files.pythonhosted.org/packages/dc/0e/94c3121ab54ef059bf3249f36b944e516e8084edfbfd8b31005bac9769be/fastprocess-0.1.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "30d0fbdcd05f92faf2c47b2a9f2fabd3", "sha256": "5590336568389515e13c7468c0e6def2933c7c488c675496c805457c3cc7ca22" }, "downloads": -1, "filename": "fastprocess-0.1.0.tar.gz", "has_sig": false, "md5_digest": "30d0fbdcd05f92faf2c47b2a9f2fabd3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1938, "upload_time": "2019-01-19T22:37:39", "upload_time_iso_8601": "2019-01-19T22:37:39.001722Z", "url": "https://files.pythonhosted.org/packages/85/71/24dbb086d8f0a53a60aed1f4efb58fb342985b3e17e1af4650e8028ccedc/fastprocess-0.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "7d7f7126c921f83c537a1e0b5cb93356", "sha256": "7b51317f34540be3c248e23e85078465f4d46911ced98f4107f21fdb019dee9c" }, "downloads": -1, "filename": "fastprocess-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7d7f7126c921f83c537a1e0b5cb93356", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.8", "size": 5319, "upload_time": "2019-10-21T18:28:31", "upload_time_iso_8601": "2019-10-21T18:28:31.683748Z", "url": "https://files.pythonhosted.org/packages/ff/0e/318c4a3bb84fccdf9067fa17dfa615d642b0f404e02312269402f811bf1c/fastprocess-1.0.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "60454a7b1c96cf8ecbd69a8fd815d589", "sha256": "468d356b041d463dc8af7b7a09772dc9d52ab15acb4596bc571b1c3381d270b8" }, "downloads": -1, "filename": "fastprocess-1.0.0.tar.gz", "has_sig": false, "md5_digest": "60454a7b1c96cf8ecbd69a8fd815d589", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.8", "size": 2366, "upload_time": "2019-10-21T18:28:32", "upload_time_iso_8601": "2019-10-21T18:28:32.914683Z", "url": "https://files.pythonhosted.org/packages/be/51/fad0a2c4356c178e4cc2112a3a131f3736e29417ed4e00a0605233243e3e/fastprocess-1.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "32e1d25dc9ec3cc3573be569c289a9f3", "sha256": "3f592aeea517ce6f12349b84987a9444a93db267da997bffb1e1be3577bebb3f" }, "downloads": -1, "filename": "fastprocess-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "32e1d25dc9ec3cc3573be569c289a9f3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.8", "size": 5367, "upload_time": "2019-10-21T18:38:57", "upload_time_iso_8601": "2019-10-21T18:38:57.270796Z", "url": "https://files.pythonhosted.org/packages/c4/eb/699fb1857480fd00c385f7c2916eb0fbd7d5848a4566083b087cf0ae017e/fastprocess-1.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "223c0b9eb22d5e5d25fde00f9020d14a", "sha256": "80f19433c43b76b9e5224ccf4ec0023ab039c3ee1c7d3f2cedba1a6ec47d8e1b" }, "downloads": -1, "filename": "fastprocess-1.0.1.tar.gz", "has_sig": false, "md5_digest": "223c0b9eb22d5e5d25fde00f9020d14a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.8", "size": 2422, "upload_time": "2019-10-21T18:38:59", "upload_time_iso_8601": "2019-10-21T18:38:59.200674Z", "url": "https://files.pythonhosted.org/packages/6c/fc/070696438308b8dfbd6577215402ce02ca99c6ed816c04e8e94e600eb3b4/fastprocess-1.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "a59b0f99d7efe33dbb080bae3e4afd46", "sha256": "b0d259d54956ee9eec9c04c5671806bcebc0d725b8b5d211bcc744895ca405e9" }, "downloads": -1, "filename": "fastprocess-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a59b0f99d7efe33dbb080bae3e4afd46", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.8", "size": 5282, "upload_time": "2020-08-20T05:42:57", "upload_time_iso_8601": "2020-08-20T05:42:57.013067Z", "url": "https://files.pythonhosted.org/packages/e3/86/3ee8136804258d33aca0eb12ba8f77bd6d7f1b63cbe6c6cb2fb01451dae3/fastprocess-2.0.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "21994522afaca4db40a0ed95974dc436", "sha256": "54b1885ef2ff56df1fdb79efe384627ece05133305eff82884ba9a68bdaa7c59" }, "downloads": -1, "filename": "fastprocess-2.0.0.tar.gz", "has_sig": false, "md5_digest": "21994522afaca4db40a0ed95974dc436", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.8", "size": 2311, "upload_time": "2020-08-20T05:42:58", "upload_time_iso_8601": "2020-08-20T05:42:58.308317Z", "url": "https://files.pythonhosted.org/packages/23/f4/ba5ad145b341363c79ce9981f4f37edbd1a2c6f39780acb394a91ac6c260/fastprocess-2.0.0.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a59b0f99d7efe33dbb080bae3e4afd46", "sha256": "b0d259d54956ee9eec9c04c5671806bcebc0d725b8b5d211bcc744895ca405e9" }, "downloads": -1, "filename": "fastprocess-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a59b0f99d7efe33dbb080bae3e4afd46", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.8", "size": 5282, "upload_time": "2020-08-20T05:42:57", "upload_time_iso_8601": "2020-08-20T05:42:57.013067Z", "url": "https://files.pythonhosted.org/packages/e3/86/3ee8136804258d33aca0eb12ba8f77bd6d7f1b63cbe6c6cb2fb01451dae3/fastprocess-2.0.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "21994522afaca4db40a0ed95974dc436", "sha256": "54b1885ef2ff56df1fdb79efe384627ece05133305eff82884ba9a68bdaa7c59" }, "downloads": -1, "filename": "fastprocess-2.0.0.tar.gz", "has_sig": false, "md5_digest": "21994522afaca4db40a0ed95974dc436", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.8", "size": 2311, "upload_time": "2020-08-20T05:42:58", "upload_time_iso_8601": "2020-08-20T05:42:58.308317Z", "url": "https://files.pythonhosted.org/packages/23/f4/ba5ad145b341363c79ce9981f4f37edbd1a2c6f39780acb394a91ac6c260/fastprocess-2.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }