{ "info": { "author": "Felix Meyer-Wolters", "author_email": "felix@meyerwolters.de", "bugtrack_url": null, "classifiers": [], "description": "\n# processy\n\n### Description\n\n*Processy* is a wrapper around `Popen` similar to the now built-in `subprocess.run()` function, which was added in Python3.5. Prior to 3.5 there was no simple sane function to run subprocesses. This is why I made *processy*. The current implementation of `subprocess.run()` still won't let you print and return stdout at the same time. *Processy* remains useful for that.\n\n### `processy.run()`\n```python\ndef run(\n cmd: Union[list, str],\n verbose: bool = True,\n return_stdout: bool = False,\n raise_err: bool = False,\n **popen_kwargs\n) -> CompletedProcess:\n \"\"\"\n @cmd: The Popen command. If it's a string shlex is used to split it.\n @return_stdout: Returns the output from stdout.\n @verbose: Print the output to stdout if True. If False call runs quite.\n @raise_error: If subprocess return code is not 0.\n \"\"\"\n # ...\n```\n \n### `CompletedProcess`\n\nSince Python3.5 *processy* uses the return object `CompletedProcess` that was added to the subprocess module. It's almost identical to processy's old `ProcResult` object.'\n\n```python\nCompletedProcess(\n args: Union[str, list]\n returncode: int\n stdout: Optiona[Union[str, bytes]]\n stderr: Optiona[Union[str, bytes]]\n)\n```\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/feluxe/processy/tarball/1.0.7", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/feluxe/processy", "keywords": "popen", "license": "unlicensed", "maintainer": "", "maintainer_email": "", "name": "processy", "package_url": "https://pypi.org/project/processy/", "platform": "", "project_url": "https://pypi.org/project/processy/", "project_urls": { "Download": "https://github.com/feluxe/processy/tarball/1.0.7", "Homepage": "https://github.com/feluxe/processy" }, "release_url": "https://pypi.org/project/processy/1.0.7/", "requires_dist": null, "requires_python": "", "summary": "A popen wrapper.", "version": "1.0.7" }, "last_serial": 3576399, "releases": { "0.0.0a0": [ { "comment_text": "", "digests": { "md5": "da51560c3561b2cf3f2c856608fe8dc6", "sha256": "047caf1ce180c8a6eea4e6fce8ecea6276bab01a29f5106723c318c8e20d1184" }, "downloads": -1, "filename": "processy-0.0.0a0-py3-none-any.whl", "has_sig": false, "md5_digest": "da51560c3561b2cf3f2c856608fe8dc6", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 3115, "upload_time": "2017-08-06T18:38:02", "url": "https://files.pythonhosted.org/packages/02/b1/71ad85c553c1ea95d0855c61a9845064c229a6661b7b81f3433d3f7af35b/processy-0.0.0a0-py3-none-any.whl" } ], "0.0.0a1": [ { "comment_text": "", "digests": { "md5": "63cc7089c9e9d6c1629e818b1b4fb8f8", "sha256": "24795d8ed59f021f8ac13f147fa18c83a0aa804a4a5f273181f2a18cc2cfc14c" }, "downloads": -1, "filename": "processy-0.0.0a1-py3-none-any.whl", "has_sig": false, "md5_digest": "63cc7089c9e9d6c1629e818b1b4fb8f8", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 3115, "upload_time": "2017-08-06T18:44:39", "url": "https://files.pythonhosted.org/packages/d9/54/777cbbfa0d2a7e301ffe87404db70aeef68b55026d596998c2b83baa881d/processy-0.0.0a1-py3-none-any.whl" } ], "0.0.0a4": [ { "comment_text": "", "digests": { "md5": "abe0803cf9e2293fb44fca5367727670", "sha256": "60cc5e249927e262a8e299b89fcaed92a330aa53c3b019bc6a54e6797d53e7c0" }, "downloads": -1, "filename": "processy-0.0.0a4-py3-none-any.whl", "has_sig": false, "md5_digest": "abe0803cf9e2293fb44fca5367727670", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 3105, "upload_time": "2017-08-22T03:52:50", "url": "https://files.pythonhosted.org/packages/93/7d/fe78a1e7c5dea65240ce687d016f068a3a46ee91af53bd6a032cdfecf5a7/processy-0.0.0a4-py3-none-any.whl" } ], "0.0.0a5": [ { "comment_text": "", "digests": { "md5": "4cf39d13d49909611e32af058646d7b6", "sha256": "3c68e0491c523e19f2cf61451fe3e02dfdbc70efb798b908cec09ac508af8031" }, "downloads": -1, "filename": "processy-0.0.0a5-py3-none-any.whl", "has_sig": false, "md5_digest": "4cf39d13d49909611e32af058646d7b6", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 3105, "upload_time": "2017-08-30T00:09:44", "url": "https://files.pythonhosted.org/packages/00/da/b5a3c3155548fa60a9b875b6da4f2dccd5a205dac0eb53671d12e5028565/processy-0.0.0a5-py3-none-any.whl" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "5149c28f744e80bfbe7fff4545ac3453", "sha256": "77b2122a88487f6f3a4fda0e5113c762528335280b110fb48aeb906126585970" }, "downloads": -1, "filename": "processy-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5149c28f744e80bfbe7fff4545ac3453", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 4095, "upload_time": "2017-10-12T19:43:26", "url": "https://files.pythonhosted.org/packages/a1/c5/248af5cf5ee849db93b056a7706c99cbe1a86bdb4fba7ee5bb5e836cf501/processy-1.0.0-py3-none-any.whl" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "8429e2b7655d35e831afc70f09854c1c", "sha256": "5669ad667345584feed2b1aeb07b1e395faa9e5fc68b3dd17f57ed068568aaf5" }, "downloads": -1, "filename": "processy-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "8429e2b7655d35e831afc70f09854c1c", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 4069, "upload_time": "2017-10-12T20:36:30", "url": "https://files.pythonhosted.org/packages/50/d5/4343781734e9d87fd6b36fcdcb63efd9cc1fca219e09e2ac5c556a20b1b3/processy-1.0.1-py3-none-any.whl" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "3b46af9a888eb17d8bdf761107821655", "sha256": "5221ae1605171f8dd32df0f7b414aff3839cc27fc9aa71f7bfcf7bc4c0d447cc" }, "downloads": -1, "filename": "processy-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "3b46af9a888eb17d8bdf761107821655", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 4067, "upload_time": "2017-10-12T20:43:50", "url": "https://files.pythonhosted.org/packages/e7/2c/9486c2abf639ca502ae893bf5d760850b679aeae9fa178996acbf496d69e/processy-1.0.2-py3-none-any.whl" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "e35ce6bbc2b5827388b6497249190180", "sha256": "142c0dd642a464a75b80e5164e942cccba3a9ddd794521a4a915132f83d6973a" }, "downloads": -1, "filename": "processy-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "e35ce6bbc2b5827388b6497249190180", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 4184, "upload_time": "2017-11-24T19:22:54", "url": "https://files.pythonhosted.org/packages/18/4b/202bc9cfdb61585f56d45d43edc59eb7689c7d1c1198bba0ff907122ef35/processy-1.0.3-py3-none-any.whl" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "03d4cfe0fd3b8a2f9919354a7d84d39a", "sha256": "8ee8f6253515cc8250f8fe4860fcbf3344ba96520f57712e613da1bd55dc7b56" }, "downloads": -1, "filename": "processy-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "03d4cfe0fd3b8a2f9919354a7d84d39a", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 4193, "upload_time": "2017-11-24T19:43:01", "url": "https://files.pythonhosted.org/packages/c5/e0/e4f31fdbc234e2cc3f613e54be99ab9468e41b549843cca46c6bfb63458f/processy-1.0.4-py3-none-any.whl" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "77d5a3af3ba59424ebf4c52f4c4f35b2", "sha256": "abb970c6c8ca8d4f6a7c81e4cf87d02351d5345a3d0c5ba37d744084168fa172" }, "downloads": -1, "filename": "processy-1.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "77d5a3af3ba59424ebf4c52f4c4f35b2", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 4196, "upload_time": "2017-11-24T20:07:40", "url": "https://files.pythonhosted.org/packages/c4/7f/e1528d1b922f455f3bac857987840b8da21aac616760f4e135b82ae73d70/processy-1.0.5-py3-none-any.whl" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "416770460e6d05dd2cc3d505f75aad01", "sha256": "b9fdcac05b13f9d6f5e4918dcf2eac7d3c2a4bd6c33779e3ab64b3fe37385b29" }, "downloads": -1, "filename": "processy-1.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "416770460e6d05dd2cc3d505f75aad01", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 4199, "upload_time": "2018-02-08T22:06:40", "url": "https://files.pythonhosted.org/packages/c9/ed/52142c72351e998474f99950145c50bfbee76ee6bad19aea00093904da03/processy-1.0.6-py3-none-any.whl" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "916d950499b7108cc2fd36c8ccdd34eb", "sha256": "ec43b64c60300d809b6d37183669025429efeb994c59dbc351afa3236d3b47c3" }, "downloads": -1, "filename": "processy-1.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "916d950499b7108cc2fd36c8ccdd34eb", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 4199, "upload_time": "2018-02-12T21:37:38", "url": "https://files.pythonhosted.org/packages/8e/cb/29333712d236620ae555abce170cabe65012d902ad7df42b719e43081d6b/processy-1.0.7-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "916d950499b7108cc2fd36c8ccdd34eb", "sha256": "ec43b64c60300d809b6d37183669025429efeb994c59dbc351afa3236d3b47c3" }, "downloads": -1, "filename": "processy-1.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "916d950499b7108cc2fd36c8ccdd34eb", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 4199, "upload_time": "2018-02-12T21:37:38", "url": "https://files.pythonhosted.org/packages/8e/cb/29333712d236620ae555abce170cabe65012d902ad7df42b719e43081d6b/processy-1.0.7-py3-none-any.whl" } ] }