windows_tools

Collection of various interfaces for Windows functionality in a Pythonic way

BSD-3-CLAUSE License

Downloads
6.2K
Stars
63
Committers
4

Bot releases are visible (Hide)

windows_tools - Insert some release title ;) Latest Release

Published by deajan about 1 year ago

This release adresses some issues that came along the road

Fixes

  • antivirus: Detection now works when registry search fails
  • registry: Don't return empty values in get_values()
  • updates: Fix detection when no install date / install result is available (happens on Win11)
  • signtool: Allow loose bitness signing
  • signtool: Allow USB token usage when no certificate is given
  • signtool: Test network access to all possible timeservers
  • wmi: Fix timezonebias when negative TZ is used

Misc

  • Fix tests
windows_tools - Maintenance release 6

Published by deajan about 3 years ago

Features

users

  • New get_local_group_members() function that lists members of local groups
  • New is_user_local_admin() function that checks if user is local administrator

Bugfixes

office

  • Fixed office version was litteral number instead of year when version < 16
windows_tools - Maintenance release 5

Published by deajan about 3 years ago

Bugfixes

updates

  • Removed a debug print statement that printed updates that didn't install
windows_tools - Maintenance release 4 [HAS A DEBUG PRINT STATEMENT, DO NOT USE]

Published by deajan about 3 years ago

Bugfixes

updates

  • Fix error when no install date is available through WMI

registry

  • Fixed tests on Python 3.5

Other

  • Updated requirements to meet latest packages
windows_tools - Maintenance release 3

Published by deajan about 3 years ago

Features

updates

  • We now have a get_windows_updates() function that allows to check for installed windows updates via COM, WMI and registry

registry

  • All registry functions now have last_modified=True|False parameter that adds the list modifcation date of the registry key

misc

  • Added basic functions to convert windows ticks into epoch or date strings

Other

  • Added newer python versions to testing matrix
  • Added black linter, moved all linting to Python 3.9 only
windows_tools - Maintenance release 2

Published by deajan over 3 years ago

Features

antivirus

  • Added antivirus type, protection and update state when possible

wmi_queries

  • windows_tools self generated WMI queries now have the name of the package that generated them

Bugfixes

antivirus

  • Added missing windows_tools.wmi_queries requirement (thanks to @sajjadhossanshimanto)

product_key

  • Fixed possible exception when no key is found via WMI
windows_tools - Maintenance release

Published by deajan over 3 years ago

This is a small maintenance release that fixes the following issues:

  • signtool

    • Improve 'signtool.exe' path detection
    • Add self signed certificate tests
  • bitlocker

    • Fix non unlocked bitlocker devices are not shown

Various code refactoring has taken place to improve overall code quality, without functional changes:

  • virtualization
  • office
  • wmi_queries
  • registry
windows_tools - signtool release

Published by deajan over 3 years ago

This release adds support for windows signtool in order to add authenticode to windows binaries.
It also fixes the following issues:

  • Double results in antivirus detection
  • Better CIM tempstamp creation function (+ compatibility layer for wmi_queries < 0.9.5)
  • Adds typing requirement for python < 3.5
windows_tools - UTC datetime

Published by deajan over 3 years ago

This release only renames a function so it's more clear that the datetime object it requires should be in UTC format, also allows to localize the resulting CIM timestamp.

windows_tools - First public release

Published by deajan over 3 years ago

Nothing groundbreaking here, but some nice tools to handle various windows stuff.

Package Rankings
Top 11.86% on Pypi.org
Badges
Extracted from project README
License Percentage of issues still open Maintainability codecov windows-tests GitHub Release
Related Projects