pywinupdate
Python-controlled search and installation of Windows updates via WinRM and Ansible. Searches for available Windows updates on a remote host and installs them one by one, rebooting and resuming as needed.
Part of the OSWatcher project, where it's used to install updates on Windows VMs one at a time so each update can be captured as a separate snapshot.
Installation
pip install pywinupdate
Usage
pywinupdate search <host> --user <user> --password <password>
pywinupdate update <host> --user <user> --password <password> [--one]
--user/--password default to vagrant/vagrant (the standard Vagrant box credentials) and --port defaults to 5985. Run pywinupdate --help for the full list of options.
Requirements
- A remote Windows host reachable over WinRM
- Ansible (installed automatically as a dependency)
Development
poetry install
poetry run poe ccode # format + lint
poetry run poe type # mypy
License
Metadata
Release files for pywinupdate 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pywinupdate-0.0.1.tar.gz | 10.0 kB | With provenance | Details for pywinupdate-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pywinupdate-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for pywinupdate-0.0.1-py3-none-any.whl |
Total release size: 22.6 kB
Release files / pywinupdate-0.0.1.tar.gz
| Download URL | pywinupdate-0.0.1.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72e36a6ebae7d1635e2dbf19d923eb33501dd3e3a75f6d8eb29d5e64728015b7
|
|
BLAKE2b-256 checksum How to use checksums |
022e4206f8b6d48c8b1effe178415df7970fee4579812f39b0ba2ea3e40880a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logRelease files / pywinupdate-0.0.1-py3-none-any.whl
| Download URL | pywinupdate-0.0.1-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74748c5b6e23b60b72e9c43e0703f7d7dd5fc190d66fd26580c8b8f69289c643
|
|
BLAKE2b-256 checksum How to use checksums |
674f42947d8ca97e1f6cda7cdecf995099ec66a927cfa0526a8f14dfb0a58e55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logSecurity for pywinupdate 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pywinupdate-0.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.