# diyan/pywinrm

Python library for Windows Remote Management (WinRM)

Repository: https://github.com/diyan/pywinrm
Canonical: https://ross.abutalabs.com/products/pywinrm
Language: Python
License: MIT
License Family: permissive
Topics: python, winrm
Last push: 2026-08-04T05:16:11+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 8, longevity 100
- inputs: {"age_days": 5171, "days_push": 29, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1138, forks 274 (observed 2026-08-28T04:03:44.018372+00:00)

## What it is
pywinrm is a Python client library for the Windows Remote Management (WinRM) service, enabling remote command and PowerShell script execution on Windows machines from any host that can run Python. It supports Basic, certificate, NTLM, Kerberos, and CredSSP authentication and is used by Ansible for its Windows support.

## Use cases
- run commands on remote windows machines from python
- execute powershell scripts remotely via winrm
- automate windows server administration from linux
- fetch wmi variables from a windows host
- manage windows fleet with ansible over winrm
- run batch scripts on windows hosts programmatically

## When to choose
- you need to remotely manage or automate Windows machines from Python
- you are building Windows support for a configuration management or automation tool
- you need multiple Windows auth protocols including Kerberos and CredSSP

## When to avoid
- you need interactive remote desktop sessions rather than command execution
- you prefer SSH-based Windows management (OpenSSH on Windows)
- you need a GUI remote administration tool

## Facets
- artifact type: library
- maturity: stable
- function: http-client, auth, developer-tools
- domain: windows, networking
- platform: python, cross-platform, windows
- tags: winrm, ws-management, remote-execution, powershell, ansible, devops, automation

## Member repositories
- diyan/pywinrm (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:44.018372+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:36:08.590663+00:00, confidence not recorded.
  - readme: https://github.com/diyan/pywinrm (fetched 2026-08-28T04:03:44.018372+00:00, sha d89f94ad3718)
  - registry_pypi: https://pypi.org/pypi/pywinrm/json (fetched 2026-08-29T12:41:15.759330+00:00, sha 8844469c3bb6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
