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
Release history Release notifications | RSS feed
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 hashes)
Built Distributions
Close
Hashes for pyfindvs-0.6.291-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfcb4305672079ddc022cf3346266e7ac8162a48217b6e54b1a7022c89713676 |
|
MD5 | 646691b00fa37d3394692e891ada82a6 |
|
BLAKE2b-256 | 5062293e808f1fec12de27b4b770e355156f424e8d221f0bdf70ef45be2b65bc |
Close
Hashes for pyfindvs-0.6.291-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70b53ca456b07a0b425995c3f176e48bbbb79d8b807af789825eece0ddb90a3c |
|
MD5 | 7fd02fedc5b811eeb70d7aa0aab26f08 |
|
BLAKE2b-256 | 873cc9bde16f10081d328fb9e79a9d033a179ce2883f335835a506546408ada8 |
Close
Hashes for pyfindvs-0.6.291-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f00e3f093287785e5de1906b1c61c51e1e659d8b06ffdcf4e90cbe2f8b2f3337 |
|
MD5 | a9e988e6b86023bcb441c2ffc420185c |
|
BLAKE2b-256 | 158395fad2e8b33bf4a4f7d72e8d3c55eb9efc46ebccbe1173f1d165d493190d |
Close
Hashes for pyfindvs-0.6.291-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9cba597a35ffb13829c463bef78f4828f63bb82a42cd7cde93d67165e9c05eb |
|
MD5 | 66cc086fe8116c8c35435638657f5367 |
|
BLAKE2b-256 | 3953cf009e4e7d9ad46b213738702343e3ae2b5e0e5b67049c25f4f9e78097e6 |
Close
Hashes for pyfindvs-0.6.291-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 686bc1405ed1378f8746e573433f65b06f6e7506a99c3e052c701606f2ae9c77 |
|
MD5 | 62683b43b416cdc5bbd0c938b3ef1208 |
|
BLAKE2b-256 | f3c2c981087ef4829995fbcf467f027b772a916cf3f269df972b1a811f929272 |
Close
Hashes for pyfindvs-0.6.291-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dff87891269a79f22e8456ec08e45ab660524cfddb0a3cf719ed833ce93add8 |
|
MD5 | 851bf9766c9f8f39d546f04e01109d0b |
|
BLAKE2b-256 | 8af7ee7811f20a2e139c9cf3f7a2fde7fa0d1b7d3136fa0ddbbcee9ecfe837c2 |