Skip to main content

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>]

Project details


Download files

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

Source Distribution

pyfindvs-0.6.291.tar.gz (16.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyfindvs-0.6.291-cp37-cp37m-win_amd64.whl (24.3 kB view details)

Uploaded CPython 3.7mWindows x86-64

pyfindvs-0.6.291-cp37-cp37m-win32.whl (23.0 kB view details)

Uploaded CPython 3.7mWindows x86

pyfindvs-0.6.291-cp36-cp36m-win_amd64.whl (24.3 kB view details)

Uploaded CPython 3.6mWindows x86-64

pyfindvs-0.6.291-cp36-cp36m-win32.whl (23.0 kB view details)

Uploaded CPython 3.6mWindows x86

pyfindvs-0.6.291-cp35-cp35m-win_amd64.whl (24.2 kB view details)

Uploaded CPython 3.5mWindows x86-64

pyfindvs-0.6.291-cp35-cp35m-win32.whl (23.2 kB view details)

Uploaded CPython 3.5mWindows x86

File details

Details for the file pyfindvs-0.6.291.tar.gz.

File metadata

  • Download URL: pyfindvs-0.6.291.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyfindvs-0.6.291.tar.gz
Algorithm Hash digest
SHA256 c1936b699b6e0f03b244b38f64a95e6cbcee4df042e872b26b6d690bdbd7571c
MD5 83105a0f1291a2bd13c68bed71c59475
BLAKE2b-256 b3f0bc2ee01e07647c4f11fad39707e0d9c63a2fe1ea61da125efe3e0146a249

See more details on using hashes here.

File details

Details for the file pyfindvs-0.6.291-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for pyfindvs-0.6.291-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 bfcb4305672079ddc022cf3346266e7ac8162a48217b6e54b1a7022c89713676
MD5 646691b00fa37d3394692e891ada82a6
BLAKE2b-256 5062293e808f1fec12de27b4b770e355156f424e8d221f0bdf70ef45be2b65bc

See more details on using hashes here.

File details

Details for the file pyfindvs-0.6.291-cp37-cp37m-win32.whl.

File metadata

File hashes

Hashes for pyfindvs-0.6.291-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 70b53ca456b07a0b425995c3f176e48bbbb79d8b807af789825eece0ddb90a3c
MD5 7fd02fedc5b811eeb70d7aa0aab26f08
BLAKE2b-256 873cc9bde16f10081d328fb9e79a9d033a179ce2883f335835a506546408ada8

See more details on using hashes here.

File details

Details for the file pyfindvs-0.6.291-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for pyfindvs-0.6.291-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 f00e3f093287785e5de1906b1c61c51e1e659d8b06ffdcf4e90cbe2f8b2f3337
MD5 a9e988e6b86023bcb441c2ffc420185c
BLAKE2b-256 158395fad2e8b33bf4a4f7d72e8d3c55eb9efc46ebccbe1173f1d165d493190d

See more details on using hashes here.

File details

Details for the file pyfindvs-0.6.291-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for pyfindvs-0.6.291-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 c9cba597a35ffb13829c463bef78f4828f63bb82a42cd7cde93d67165e9c05eb
MD5 66cc086fe8116c8c35435638657f5367
BLAKE2b-256 3953cf009e4e7d9ad46b213738702343e3ae2b5e0e5b67049c25f4f9e78097e6

See more details on using hashes here.

File details

Details for the file pyfindvs-0.6.291-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for pyfindvs-0.6.291-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 686bc1405ed1378f8746e573433f65b06f6e7506a99c3e052c701606f2ae9c77
MD5 62683b43b416cdc5bbd0c938b3ef1208
BLAKE2b-256 f3c2c981087ef4829995fbcf467f027b772a916cf3f269df972b1a811f929272

See more details on using hashes here.

File details

Details for the file pyfindvs-0.6.291-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for pyfindvs-0.6.291-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 9dff87891269a79f22e8456ec08e45ab660524cfddb0a3cf719ed833ce93add8
MD5 851bf9766c9f8f39d546f04e01109d0b
BLAKE2b-256 8af7ee7811f20a2e139c9cf3f7a2fde7fa0d1b7d3136fa0ddbbcee9ecfe837c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page