{ "info": { "author": "Jake Treacher", "author_email": "git@jaketreacher.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3 :: Only", "Topic :: Utilities" ], "description": "Host Open v0.1.1\n================\n\nSynopsis\n--------\n\nWhen connected to a vagrant machine via ssh, this allows the user to open files and directories on the host machine without tunnelling.\n\nThis functionality is restricted to only files/directories in synced folders.\n\nRequirements\n------------\n- python3\n- vagrant\n\nSetup\n-----\n\nInstallation\n~~~~~~~~~~~~\nYou can install ``hostopen`` with ``pip``\n\n::\n\n pip3 install hostopen\n\n\nThis will give the commands: ``hostopen`` and ``hostopen-server`` \n\nVagrantfile configuration\n~~~~~~~~~~~~~~~~~~~~~~~~~\nThe virtual machine needs access to the ``synced_folders`` file for this program to work. This file is located in the ``.vagrant`` directory in the same root as the Vagrantfile. \n\nAdd a similiar line to the Vagrantfile: \n::\n\n config.vm.synced_folder \".vagrant/machines/default/virtualbox\", \"/.vagrant_info\"\n\n*This assumes the machine is named 'default' and you are using 'virtualbox'. Change where appropriate.*\n\nSSH\n~~~\n::\n\n vagrant ssh -- -R 12355:localhost:12355\n\n*The arbitrarily chosen default port of 12355 can be changed.*\n\n\nUsage Examples\n--------------\nYou can use ``hostopen --help`` and ``hostopen-server --help`` for usage information.\n\nClient\n~~~~~~\n::\n\n hostopen file.py directory\n\nWill make the server open ``file.py`` and ``directory`` if they are inside of a synced folder.\n\nServer\n~~~~~~\n::\n\n hostopen-server subl\n\nFilepaths received will be opened with sublime. ``subl`` can be substitued for a different program.\n\n\nLicense\n-------\n| Copyright (c) Jake Treacher. All rights reserved. \n| Licensed under the `MIT`_ License.\n\n.. _MIT: https://github.com/jaketreacher/hostopen/blob/master/LICENSE.txt\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jaketreacher/hostopen", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "hostopen", "package_url": "https://pypi.org/project/hostopen/", "platform": "", "project_url": "https://pypi.org/project/hostopen/", "project_urls": { "Homepage": "https://github.com/jaketreacher/hostopen" }, "release_url": "https://pypi.org/project/hostopen/0.1.1/", "requires_dist": null, "requires_python": ">=3", "summary": "Open files/directories in a vagrant synced folder on the host", "version": "0.1.1" }, "last_serial": 3107579, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "c36e25d2e7e879089e081b05a4f488cb", "sha256": "97d3256ecf4842ee4ba786d5083b9c9e4142dad6963287f7f4f35ae0ec123345" }, "downloads": -1, "filename": "hostopen-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c36e25d2e7e879089e081b05a4f488cb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 7657, "upload_time": "2017-08-19T03:19:33", "url": "https://files.pythonhosted.org/packages/d5/c5/462203ce912954c149efcb17b1a709da906421ac7fbcda6be95a92edaa25/hostopen-0.1.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c36e25d2e7e879089e081b05a4f488cb", "sha256": "97d3256ecf4842ee4ba786d5083b9c9e4142dad6963287f7f4f35ae0ec123345" }, "downloads": -1, "filename": "hostopen-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c36e25d2e7e879089e081b05a4f488cb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 7657, "upload_time": "2017-08-19T03:19:33", "url": "https://files.pythonhosted.org/packages/d5/c5/462203ce912954c149efcb17b1a709da906421ac7fbcda6be95a92edaa25/hostopen-0.1.1-py3-none-any.whl" } ] }