Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Python module for locating Visual Studio

Project Description

pyfindvs

Python client library for locating Visual Studio 2017.

Usage

The basic functions are findall, findwithall and findwithany.

Calling findall will return a (potentially cached) list of currently installed copies of Visual Studio 2017. Each list item is a VisualStudioInstance object with attributes for name, version, version_info (numeric parts of version as a tuple), path and packages (a set of the installed components).

Calling findwithall or findwithany will only return instances of Visual Studio where all/any of the specified package names are installed.

For example:

>>> pyfindvs.findall()
[<VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>,
 <VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools>]

>>> pyfindvs.findwithall('Microsoft.VisualStudio.Component.VC.Tools.x86.x64',
                         'Microsoft.VisualStudio.Component.Windows10SDK.10586')
[<VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools>]

>>> pyfindvs.findwithany('Microsoft.VisualStudio.Component.VC.Tools.x86.x64',
                         'Microsoft.VisualStudio.Component.Windows10SDK.10586')
[<VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>,
 <VisualStudioInstance at C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools>]
Release History

Release History

This version
History Node

0.4.63

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyfindvs-0.4.63-cp35-cp35m-win32.whl (23.3 kB) Copy SHA256 Checksum SHA256 cp35 Wheel Dec 29, 2016
pyfindvs-0.4.63-cp35-cp35m-win_amd64.whl (24.2 kB) Copy SHA256 Checksum SHA256 cp35 Wheel Dec 29, 2016
pyfindvs-0.4.63-cp36-cp36m-win32.whl (23.3 kB) Copy SHA256 Checksum SHA256 cp36 Wheel Dec 29, 2016
pyfindvs-0.4.63-cp36-cp36m-win_amd64.whl (24.2 kB) Copy SHA256 Checksum SHA256 cp36 Wheel Dec 29, 2016
pyfindvs-0.4.63.tar.gz (16.1 kB) Copy SHA256 Checksum SHA256 Source Dec 29, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting