devcon-win-0.2.4.2
توضیحات
devcon_win - interact with devcon.exe in NT systems
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Microsoft :: Windows |
| نام فایل | devcon-win-0.2.4.2 |
| نام | devcon-win |
| نسخه کتابخانه | 0.2.4.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Shivanshu Srivastava |
| ایمیل نویسنده | shivanshu26shiv@gmail.com |
| آدرس صفحه اصلی | https://github.com/Shivanshu26shiv/devcon_win |
| آدرس اینترنتی | https://pypi.org/project/devcon-win/ |
| مجوز | MIT |
<h2>devcon_win - to interact with <a href='https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/devcon' target='_blank'>devcon.exe</a> in NT systems using Python</h2>
With devcon_win, you can access all functions of devcon.exe. In addition, you can see all available drivers as a function. Originally it was created to simply enable/disable device drivers using python.
See below for more details.
<h3>Getting it:</h3>
To download devcon_win, either fork its github repo or simply use
Pypi via pip.
$ pip install devcon_win
<h3>Compatibility:</h3>
devcon_win is compatible for both python2 and python3.
<h3>Using it:</h3>
<ol>
<li>The devcon.exe present in this rep is for '64 bit windows 10'. If your windows's version is different then download <a href='https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/devcon' target='_blank'>devcon.exe</a> as per requirement.</li>
<li>Move devcon.exe in the current script's directory or any path defined in environment variables say Python27/Scripts.</li>
<li>Install devcon_win from pip.</li>
<li>
Use <b>devcon_win_driver.py</b> as a sample to <b>disable webcam</b> or any other driver as per requirement <b>{BE CAREFUL}</b>:
import devcon_win
# To display status
print(devcon_win.HP_TrueVision_HD())
# Or
print(devcon_win.HP_TrueVision_HD('status'))
# To change status
print(devcon_win.HP_TrueVision_HD('enable')) # will show options after 'devcon_win.'
P.S: list of examples of devcon commands are present <a href='https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/devcon-examples' target='_blank'>here.</a>
</li>
</ol>
<h3>Contact:</h3>
<ul>
<li>LinkedIn: https://www.linkedin.com/in/shivanshu26shiv/</li>
</ul>
نحوه نصب
نصب پکیج whl devcon-win-0.2.4.2:
pip install devcon-win-0.2.4.2.whl
نصب پکیج tar.gz devcon-win-0.2.4.2:
pip install devcon-win-0.2.4.2.tar.gz