Skip to main content

devcon_win - to interact with devcon.exe in NT systems using Python

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.

Getting it:

To download devcon_win, either fork its github repo or simply use Pypi via pip.
$ pip install devcon_win

Compatibility:

devcon_win is compatible for both python2 and python3.

Using it:

  1. The devcon.exe present in this rep is for '64 bit windows 10'. If your windows's version is different then download devcon.exe as per requirement.
  2. Move devcon.exe in the current script's directory or any path defined in environment variables say Python27/Scripts.
  3. Install devcon_win from pip.
  4. Use devcon_win_driver.py as a sample to disable webcam or any other driver as per requirement {BE CAREFUL}:
    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 here.

Contact:

  • LinkedIn: https://www.linkedin.com/in/shivanshu26shiv/

Release files for devcon-win 0.2.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for devcon-win 0.2.4.2
File Size Uploaded
devcon_win-0.2.4.2.tar.gz 4.0 kB Details

Release files / devcon_win-0.2.4.2.tar.gz

Download URL devcon_win-0.2.4.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e7a6ecfbfac91108514b679cab4a1f48685f7d5103e5ca1c1e09a3ab12619e38
BLAKE2b-256 checksum
How to use checksums
5611163e82170abad35040b407990bbbd50f9b6eca971db063f045e8d6ed2a00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.2.4.2 This release

1 release file

0.2.4.1

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page