{ "info": { "author": "Bence Cserna", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "# DistLRE (dist-el-ar-ee)\n\nA lightweight Python package to distribute commands on remote hosts via SSH and to execute them locally in parallel.\n\nSupports running a local commands:\n\n```python\nfrom distlre.distlre import DistLRE, Task, RemoteHost\nexecutor = DistLRE(local_threads=1)\n\ntask = Task(command='ls ~', meta='META', time_limit=10, memory_limit=10)\nfuture = executor.submit(task)\nexecutor.execute_tasks()\nexecutor.wait()\nprint(future.result().output)\n```\n\nOr runs command on a remote host:\n\n```python\nimport getpass\npassword = getpass.getpass(\"Password to connect to [localhost]:\")\nexecutor = DistLRE(remote_hosts=[RemoteHost('localhost', port=31415, password=password)])\n\ntask = Task(command='ls ~', meta='META', time_limit=10, memory_limit=10)\nother_task = Task(command='cd ~', meta='META', time_limit=10, memory_limit=10)\nfuture = executor.submit(task)\nother_future = executor.submit(other_task)\nexecutor.execute_tasks()\nexecutor.wait()\nprint(future.result().output)\n```\n\n# Install\n\n`pip3 install DistLRE`\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/csbence/DistLRE", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "distlre", "package_url": "https://pypi.org/project/distlre/", "platform": "", "project_url": "https://pypi.org/project/distlre/", "project_urls": { "Homepage": "https://github.com/csbence/DistLRE" }, "release_url": "https://pypi.org/project/distlre/0.0.4/", "requires_dist": [ "paramiko" ], "requires_python": "", "summary": "A Python package to distribute commands on remote hosts viaSSH and to execute them locally in parallel.", "version": "0.0.4" }, "last_serial": 4209031, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d8bdea275c82d8526709c966d2a63631", "sha256": "10e279534539fc2a542dd69d79136249bc993d0c928cd1c2e5a2ada6a97aaeee" }, "downloads": -1, "filename": "distlre-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d8bdea275c82d8526709c966d2a63631", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2501, "upload_time": "2018-04-25T03:17:09", "url": "https://files.pythonhosted.org/packages/e6/f9/285f5febcd68ffd5f444cf255b959ccbc9044c5551c8b462fd9fe87bb49c/distlre-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9e29a5b3a7927bbf498b926342c34efe", "sha256": "4a9c5587767cb329583e4283139341f2bc22d2218c4978a498a4705404bde03a" }, "downloads": -1, "filename": "distlre-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9e29a5b3a7927bbf498b926342c34efe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2497, "upload_time": "2018-04-25T03:17:10", "url": "https://files.pythonhosted.org/packages/49/10/70a62741cb4298e2cbee85db3337eace47eac1a25cce7d4eaa0493e92373/distlre-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a04912a3386c4f0a8dc1cc46e0505794", "sha256": "82950acf74600f3c023c0c0f59eb84bc379ec8759e7bf9a3f0161a3726233401" }, "downloads": -1, "filename": "distlre-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a04912a3386c4f0a8dc1cc46e0505794", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1311, "upload_time": "2018-04-25T03:17:11", "url": "https://files.pythonhosted.org/packages/7b/48/8baa85aa6697d80b55ee36b0f8d081f614c93d8c7e91579d25ba2fd36f2f/distlre-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "49c467b1a67d8a56c9ad5935ee23bb7b", "sha256": "6ee34ef5a7ab9ee458caa69639cf467943ff093e96e4f5e5c164514dfc333491" }, "downloads": -1, "filename": "distlre-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "49c467b1a67d8a56c9ad5935ee23bb7b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2571, "upload_time": "2018-04-25T03:46:35", "url": "https://files.pythonhosted.org/packages/ed/53/67e53f6d62952fc0c02cf9d99cd209514a85dcbd0cbb1980d8226f33883e/distlre-0.0.2-py3-none-any.whl" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "854944fc2d2c85a41440b424dcec7e0d", "sha256": "d841482a53f2cb1c7edff7c2101000c47cc20a50f17406a8fee7f11ca3e20ff6" }, "downloads": -1, "filename": "distlre-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "854944fc2d2c85a41440b424dcec7e0d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3833, "upload_time": "2018-08-26T19:12:30", "url": "https://files.pythonhosted.org/packages/ce/60/bb15f756d0923ca2e416ca29026d072d42a308c5c4660c070c3cce9f3485/distlre-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a1f23d56a6c8482577024b104b848bc8", "sha256": "4548cd125b1ab3fa19fd6e74b3e8afeada43a6c3c2d386f6c42ecfdb79fe7413" }, "downloads": -1, "filename": "distlre-0.0.3.tar.gz", "has_sig": false, "md5_digest": "a1f23d56a6c8482577024b104b848bc8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2744, "upload_time": "2018-08-26T19:12:31", "url": "https://files.pythonhosted.org/packages/9d/02/13cdfe541035b30ff949e935720caa00280e967ea99c15ad262ab716fdff/distlre-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "d68a1d6770bd2a9c48388a9ef7544495", "sha256": "9ab51017a892fc824c4b89dfa808187f179c61b0ffb511f4e9bb556e90dea877" }, "downloads": -1, "filename": "distlre-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "d68a1d6770bd2a9c48388a9ef7544495", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3832, "upload_time": "2018-08-26T19:22:12", "url": "https://files.pythonhosted.org/packages/29/27/5fde69d0f32b1eec1c40799f5d864e2cf9853bc6cf54c8163e8e23913c4a/distlre-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3a9f86a77d36e0c427b583654ebf8292", "sha256": "74f8d85e85e3d806cf62bf5dd0a58d55acb14fb17dcc3919120693d1ebf9b49e" }, "downloads": -1, "filename": "distlre-0.0.4.tar.gz", "has_sig": false, "md5_digest": "3a9f86a77d36e0c427b583654ebf8292", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2733, "upload_time": "2018-08-26T19:22:13", "url": "https://files.pythonhosted.org/packages/1d/51/d543028938370b6cbbbfd054dbe7ba4a7286afd8041e2c408ec55f0264ef/distlre-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d68a1d6770bd2a9c48388a9ef7544495", "sha256": "9ab51017a892fc824c4b89dfa808187f179c61b0ffb511f4e9bb556e90dea877" }, "downloads": -1, "filename": "distlre-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "d68a1d6770bd2a9c48388a9ef7544495", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3832, "upload_time": "2018-08-26T19:22:12", "url": "https://files.pythonhosted.org/packages/29/27/5fde69d0f32b1eec1c40799f5d864e2cf9853bc6cf54c8163e8e23913c4a/distlre-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3a9f86a77d36e0c427b583654ebf8292", "sha256": "74f8d85e85e3d806cf62bf5dd0a58d55acb14fb17dcc3919120693d1ebf9b49e" }, "downloads": -1, "filename": "distlre-0.0.4.tar.gz", "has_sig": false, "md5_digest": "3a9f86a77d36e0c427b583654ebf8292", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2733, "upload_time": "2018-08-26T19:22:13", "url": "https://files.pythonhosted.org/packages/1d/51/d543028938370b6cbbbfd054dbe7ba4a7286afd8041e2c408ec55f0264ef/distlre-0.0.4.tar.gz" } ] }