{ "info": { "author": "Joel Spadin", "author_email": "joelspadin@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: Microsoft :: Windows", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Text Editors :: Integrated Development Environments (IDE)" ], "description": "# Python vswhere\n\nThis module provides an interface to Microsoft's Visual Studio locator tool,\n[vswhere](https://github.com/Microsoft/vswhere).\n\nIf Visual Studio 15.2 or later has been installed, this will use the vswhere\nbinary installed with Visual Studio. Otherwise, it will download the latest\nrelease of vswhere the first time a function is called.\n\n# Usage\n\n`find` and `find_first` are the most generic functions. They support most of the\n[command line options](https://github.com/Microsoft/vswhere/blob/master/src/vswhere.lib/vswhere.lib.rc#L72)\nto vswhere. `find` returns a list of installed copies of Visual Studio matching\nthe given options, and `find_first` returns only the first result.\n\nIf you are only interested in the latest version of Visual Studio, use\n`get_latest`. To get just the installation path, use `get_latest_path`. To get\njust the version number, use `get_latest_version` or `get_latest_major_version`.\n\nIf you want to use your own version of vswhere.exe instead of the one installed\nwith Visual Studio, use `set_vswhere_path` to provide its location.\n\nIf you want to use a mirror instead of GitHub to download vswhere.exe, for\nexample when on an intranet that does not have access to GitHub, use\n`set_download_mirror` and provide the URL of the mirror.\n\n## Examples\n\n```Python\n>>> import pprint, vswhere\n>>> vswhere.get_latest_path()\n'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\\\\2017\\\\Community'\n>>> vswhere.get_latest_version()\n'15.8.28010.2003'\n>>> vswhere.get_latest_major_version()\n15\n>>> vswhere.find(legacy=True, prop='installationPath')\n['C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\\\\2017\\\\Community', 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 14.0\\\\']\n>>> pp = pprint.PrettyPrinter(indent=4, width=200)\n>>> pp.pprint(vswhere.find(legacy=True))\n[ { ...\n 'description': 'Free, fully-featured IDE for students, open-source and individual developers',\n 'displayName': 'Visual Studio Community 2017',\n 'enginePath': 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\\\\Installer\\\\resources\\\\app\\\\ServiceHub\\\\Services\\\\Microsoft.VisualStudio.Setup.Service',\n 'installDate': '2018-04-26T04:49:29Z',\n 'installationName': 'VisualStudio/15.8.1+28010.2003',\n 'installationPath': 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\\\\2017\\\\Community',\n 'installationVersion': '15.8.28010.2003',\n 'instanceId': 'ee7ea828',\n 'isPrerelease': False,\n 'productId': 'Microsoft.VisualStudio.Product.Community',\n 'productPath': 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\\\\2017\\\\Community\\\\Common7\\\\IDE\\\\devenv.exe',\n 'properties': ...,\n 'releaseNotes': 'https://go.microsoft.com/fwlink/?LinkId=660692#15.8.1',\n 'thirdPartyNotices': 'https://go.microsoft.com/fwlink/?LinkId=660708',\n 'updateDate': '2018-08-19T20:49:30.0058548Z'},\n {'installationPath': 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 14.0\\\\', 'installationVersion': '14.0', 'instanceId': 'VisualStudio.14.0'}]\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ChaosinaCan/pyvswhere", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "vswhere", "package_url": "https://pypi.org/project/vswhere/", "platform": "", "project_url": "https://pypi.org/project/vswhere/", "project_urls": { "Homepage": "https://github.com/ChaosinaCan/pyvswhere" }, "release_url": "https://pypi.org/project/vswhere/1.1.2/", "requires_dist": null, "requires_python": "", "summary": "Interface to Microsoft's Visual Studio locator tool, vswhere", "version": "1.1.2" }, "last_serial": 5487448, "releases": { "1.1": [ { "comment_text": "", "digests": { "md5": "0fc1e77013c8a87bc8e4261299444c2f", "sha256": "8d0efcf37e69adc24d9f777999d5591ac0d239a2ddef6187dc652725f73f04f8" }, "downloads": -1, "filename": "vswhere-1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "0fc1e77013c8a87bc8e4261299444c2f", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4897, "upload_time": "2018-09-16T22:25:44", "url": "https://files.pythonhosted.org/packages/f2/e0/7d1c998f22f915d0f50314924e75fc6a2658dfbb325be701ac1b1dd82efd/vswhere-1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fd9b1529507a7f1e91bd80d3069b2329", "sha256": "021fff036492fada2fa72aab82783b4ac6bc37ea23d00b01302279d70b7a60d9" }, "downloads": -1, "filename": "vswhere-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "fd9b1529507a7f1e91bd80d3069b2329", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4874, "upload_time": "2018-09-16T22:25:45", "url": "https://files.pythonhosted.org/packages/a8/ad/b9db185cb7245d6b808b741bee5c6b6520449efff303d3d5f6029fc314fa/vswhere-1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9ea53d81292492188d175c33743c9a6f", "sha256": "d0c21f493ea50f653181148ec652766fdd4e6d6b5c56423599a2a6f54ddbd96a" }, "downloads": -1, "filename": "vswhere-1.1.tar.gz", "has_sig": false, "md5_digest": "9ea53d81292492188d175c33743c9a6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4628, "upload_time": "2018-09-16T22:25:46", "url": "https://files.pythonhosted.org/packages/6b/60/de1b358a303120c8d42b5b7a0f76c89746b658197df0217cbe07307d6274/vswhere-1.1.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "b3222cbc345302111d9e9ab585f6eeaf", "sha256": "de66486cb4980d8d60a6a4f6145279bae0f5d7c4aff7416993b618bedcefde52" }, "downloads": -1, "filename": "vswhere-1.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "b3222cbc345302111d9e9ab585f6eeaf", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4914, "upload_time": "2018-09-16T22:29:40", "url": "https://files.pythonhosted.org/packages/63/8c/8ef17e1a8dd24a75a35135ff0f5649de11efa34b650380ca96299e92b907/vswhere-1.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ac303e6a9804b1b549a2efa06d9da5e2", "sha256": "16097432b955fe31145eed3e034bb577d95f6b76c268e8d049771f476dcce2ba" }, "downloads": -1, "filename": "vswhere-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ac303e6a9804b1b549a2efa06d9da5e2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4891, "upload_time": "2018-09-16T22:29:41", "url": "https://files.pythonhosted.org/packages/b6/3e/4fe136e20ee6ca746b65e35b1fafce109328e379e164102c67d2c068e614/vswhere-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9afe349498edca557e2493c345dd80fc", "sha256": "f711e3889467510fe6d0eaba340e1fc2473501a1c2fe4fcfb14d920b121d9243" }, "downloads": -1, "filename": "vswhere-1.1.1.tar.gz", "has_sig": false, "md5_digest": "9afe349498edca557e2493c345dd80fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4629, "upload_time": "2018-09-16T22:29:42", "url": "https://files.pythonhosted.org/packages/93/e7/e9a22251ecd3adbe149fff3f6a98801338c837d83f3f6072d330ccf50e5c/vswhere-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "fa64db2690d578e8e6dd5a395567a01c", "sha256": "ae6229430caa8034f2222bb72a385c3b519b1245726e41c71c71b2a779dc18a4" }, "downloads": -1, "filename": "vswhere-1.1.2.tar.gz", "has_sig": false, "md5_digest": "fa64db2690d578e8e6dd5a395567a01c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4642, "upload_time": "2019-07-04T16:10:56", "url": "https://files.pythonhosted.org/packages/b2/53/45ef46b9cb9c54a96162dc37823b6325f134d664303d7a7eb4fcefd769a3/vswhere-1.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fa64db2690d578e8e6dd5a395567a01c", "sha256": "ae6229430caa8034f2222bb72a385c3b519b1245726e41c71c71b2a779dc18a4" }, "downloads": -1, "filename": "vswhere-1.1.2.tar.gz", "has_sig": false, "md5_digest": "fa64db2690d578e8e6dd5a395567a01c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4642, "upload_time": "2019-07-04T16:10:56", "url": "https://files.pythonhosted.org/packages/b2/53/45ef46b9cb9c54a96162dc37823b6325f134d664303d7a7eb4fcefd769a3/vswhere-1.1.2.tar.gz" } ] }