{ "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": "framelake", "package_url": "https://pypi.org/project/framelake/", "platform": "", "project_url": "https://pypi.org/project/framelake/", "project_urls": { "Homepage": "http://vixal.net" }, "release_url": "https://pypi.org/project/framelake/0.7.0/", "requires_dist": null, "requires_python": "", "summary": "Wrappers for remote exec, local exec.", "version": "0.7.0" }, "last_serial": 5502192, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f2592457086c76a20f7f05a9afd2b2db", "sha256": "d031fd457887eab1e9fd2852adcceaa9951b7504f8c40a0020b1c48abb244aa3" }, "downloads": -1, "filename": "framelake-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f2592457086c76a20f7f05a9afd2b2db", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8327, "upload_time": "2019-06-30T23:13:59", "url": "https://files.pythonhosted.org/packages/80/d8/a8e71ca403e4f874c3c0836e33ca37aa00b5f261d56062650f05b9a9f637/framelake-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b93a614f321133377136a91d81dd697b", "sha256": "850ff3baca65db5235abc130b3de05ea111e4eaa9c3b7d3944860170db1dfca6" }, "downloads": -1, "filename": "framelake-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b93a614f321133377136a91d81dd697b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7126, "upload_time": "2019-06-30T23:14:02", "url": "https://files.pythonhosted.org/packages/e8/b3/62f8877e016968e103c22401f3c10bcc9d589d48d284b2fd996257cd7071/framelake-0.1.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "4f365ef9eadf5df11ab515cc328b9d74", "sha256": "b499c70deaa500df75507b4e2c957a9abb2adfd93192dc25da9d92af52db1c05" }, "downloads": -1, "filename": "framelake-0.7.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4f365ef9eadf5df11ab515cc328b9d74", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12207, "upload_time": "2019-07-08T17:14:15", "url": "https://files.pythonhosted.org/packages/8e/66/4ac3484885113d0b7438cd7ec6b26bedc692acff5f508f2959ef2edb9702/framelake-0.7.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "af03c325567703ff677749c48dce63a7", "sha256": "15f08ea5388d3bcfc8406e881f26f1eca4374fb14d0ecc386b6cdab26fb1633c" }, "downloads": -1, "filename": "framelake-0.7.0.tar.gz", "has_sig": false, "md5_digest": "af03c325567703ff677749c48dce63a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10482, "upload_time": "2019-07-08T17:14:18", "url": "https://files.pythonhosted.org/packages/89/fc/6c0ddb9de9e6bac998f1e560a8823e6c949c014f3bc5a5a6d39a61181150/framelake-0.7.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4f365ef9eadf5df11ab515cc328b9d74", "sha256": "b499c70deaa500df75507b4e2c957a9abb2adfd93192dc25da9d92af52db1c05" }, "downloads": -1, "filename": "framelake-0.7.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4f365ef9eadf5df11ab515cc328b9d74", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12207, "upload_time": "2019-07-08T17:14:15", "url": "https://files.pythonhosted.org/packages/8e/66/4ac3484885113d0b7438cd7ec6b26bedc692acff5f508f2959ef2edb9702/framelake-0.7.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "af03c325567703ff677749c48dce63a7", "sha256": "15f08ea5388d3bcfc8406e881f26f1eca4374fb14d0ecc386b6cdab26fb1633c" }, "downloads": -1, "filename": "framelake-0.7.0.tar.gz", "has_sig": false, "md5_digest": "af03c325567703ff677749c48dce63a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10482, "upload_time": "2019-07-08T17:14:18", "url": "https://files.pythonhosted.org/packages/89/fc/6c0ddb9de9e6bac998f1e560a8823e6c949c014f3bc5a5a6d39a61181150/framelake-0.7.0.tar.gz" } ] }