{ "info": { "author": "James M", "author_email": "jimferd@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Remotelib\n---\n---\n\nVarious wrappers for subprocess, ssh, fabric.\n\n---\n\n## REX: Remote execute:\nREX(\n\ttarget,\n\tuser = None,\n\tpass_ = None,\n\tport = None,\n\taudit_file = None,\n\tsilent = True\n)\n\n### REX.rex(\"cmd\", audit=True, bg=False, logfilename=\"deploy1.log\")\nRemotely execute the command specified by cmd. If bg=True, runs with nohup\nand returns immediately. If audit = True, writes the stdout of the command\nto the specified logfilename on the remote server.\n\n#### REX.rex_push(local_path, remote_path): scp from the user over the active REX connection\n\n#### REX.rex_pull(remote_path, local_path): scp a file towards the user over an active REX connection\n\n\n\n## SSHTunnel(object)\n\n```python\nimport import ssh_tunnel\ntun = ssh_tunnel.SSHTunnel(\n [local_port(4444), remote_port(3306), \n remote interface(\"localhost\"), remote_user=, spin=(True,False),\n foreground=(True,False), immediate=(True, False)\n )\n```\n### RemoteDB(SSHTunnel):\n -- Execute MySQL queries over a forwarded SSH connection\n```pytho\nremote_db = ssh_tunnel.RemoteDB(\n db_hostname, db_user=, db_pass=, db_port=4444, database=, **SSHTunnel(*, **)\n )\n```\n### Tunnels(object):\n -- Registry for SSH Tunnels; also allows iteration (for example, to kill the connection.) Allows iteration.\n -- To register a tunnel, use the register()\n\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": "http://vixal.net", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "rxpipe", "package_url": "https://pypi.org/project/rxpipe/", "platform": "", "project_url": "https://pypi.org/project/rxpipe/", "project_urls": { "Homepage": "http://vixal.net" }, "release_url": "https://pypi.org/project/rxpipe/0.7.0/", "requires_dist": null, "requires_python": "", "summary": "Wrappers for remote exec, local exec.", "version": "0.7.0" }, "last_serial": 5499058, "releases": { "0.5.2": [ { "comment_text": "", "digests": { "md5": "c49ccf3230f0e80c2b0621c094c5c446", "sha256": "e97dfbc2f7932c524638cf43d6c06cd49e016791ca4a87d094198434823fcda0" }, "downloads": -1, "filename": "rxpipe-0.5.2-py3-none-any.whl", "has_sig": false, "md5_digest": "c49ccf3230f0e80c2b0621c094c5c446", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9184, "upload_time": "2019-07-02T02:55:55", "url": "https://files.pythonhosted.org/packages/5a/46/7eecb38263c64690bb548a0a69f70abde16811469cb31ff5d1714be31160/rxpipe-0.5.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "029d3bbb026050b2960488ed7b54f409", "sha256": "d1954f975e3e9d3908d1130bfae1c8cad9ae978718a705e52d09d7d664b23c20" }, "downloads": -1, "filename": "rxpipe-0.5.2.tar.gz", "has_sig": false, "md5_digest": "029d3bbb026050b2960488ed7b54f409", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7979, "upload_time": "2019-07-02T02:55:57", "url": "https://files.pythonhosted.org/packages/16/5f/875162501f4caa4f12e131cb43dc43896a7618a2a14fa3c6c707779e7ca1/rxpipe-0.5.2.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "177595ecf699703439522d8cb1b2cb59", "sha256": "4218d2267aefdf00e57a25b893d9ee33aaf52b15825f0ce6d4ebc67fa5dff63f" }, "downloads": -1, "filename": "rxpipe-0.6.0-py3-none-any.whl", "has_sig": false, "md5_digest": "177595ecf699703439522d8cb1b2cb59", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12178, "upload_time": "2019-07-08T01:16:35", "url": "https://files.pythonhosted.org/packages/3b/a1/fc2247bf5cbc0a09f442fa36dd6ddfeecbf4acbfe5758b384884af6690bf/rxpipe-0.6.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4b85506caa09e53c1ef87d803823aabc", "sha256": "32a64af6b34e569a237d2d8549ee6a786b0ec579c61adae4f2adcf8c6276b422" }, "downloads": -1, "filename": "rxpipe-0.6.0.tar.gz", "has_sig": false, "md5_digest": "4b85506caa09e53c1ef87d803823aabc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10478, "upload_time": "2019-07-08T01:16:37", "url": "https://files.pythonhosted.org/packages/9d/94/f5369bbc25e4c583df2e9ccbb7248b86c00cca8da53c6b0031b12a5ab54b/rxpipe-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "714bdf3778f0ce11f8ed9bd93c4fd4df", "sha256": "1f320c48abced3db0cbb480008fb927d9f7d823919d5a7d27256ca3f6b0e8fdd" }, "downloads": -1, "filename": "rxpipe-0.7.0-py3-none-any.whl", "has_sig": false, "md5_digest": "714bdf3778f0ce11f8ed9bd93c4fd4df", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12178, "upload_time": "2019-07-08T05:35:52", "url": "https://files.pythonhosted.org/packages/1d/8a/28d9b860e81890dea68ead431fa9fb38c4644e6dbfb398bba2892b64ef68/rxpipe-0.7.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e1c5a987634b5e5c060e663a413f8106", "sha256": "9c378828e784b90ce5530086742bc7365ba2613a2dd9f6f0ed1e93f54bdf9c8a" }, "downloads": -1, "filename": "rxpipe-0.7.0.tar.gz", "has_sig": false, "md5_digest": "e1c5a987634b5e5c060e663a413f8106", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10486, "upload_time": "2019-07-08T05:35:54", "url": "https://files.pythonhosted.org/packages/67/94/86b0ca175149f0eaae6e23fe9496287e35a0491a8115a4729bf00de32f9f/rxpipe-0.7.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "714bdf3778f0ce11f8ed9bd93c4fd4df", "sha256": "1f320c48abced3db0cbb480008fb927d9f7d823919d5a7d27256ca3f6b0e8fdd" }, "downloads": -1, "filename": "rxpipe-0.7.0-py3-none-any.whl", "has_sig": false, "md5_digest": "714bdf3778f0ce11f8ed9bd93c4fd4df", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12178, "upload_time": "2019-07-08T05:35:52", "url": "https://files.pythonhosted.org/packages/1d/8a/28d9b860e81890dea68ead431fa9fb38c4644e6dbfb398bba2892b64ef68/rxpipe-0.7.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e1c5a987634b5e5c060e663a413f8106", "sha256": "9c378828e784b90ce5530086742bc7365ba2613a2dd9f6f0ed1e93f54bdf9c8a" }, "downloads": -1, "filename": "rxpipe-0.7.0.tar.gz", "has_sig": false, "md5_digest": "e1c5a987634b5e5c060e663a413f8106", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10486, "upload_time": "2019-07-08T05:35:54", "url": "https://files.pythonhosted.org/packages/67/94/86b0ca175149f0eaae6e23fe9496287e35a0491a8115a4729bf00de32f9f/rxpipe-0.7.0.tar.gz" } ] }