Skip to main content

runspec-windows

Windows system-administration runnables (plus the cross-platform web/TLS/API probes) for runspec. The Windows counterpart to runspec-linux: pip install it into a venv and the runnables are discoverable by runspec local, runspec serve (MCP), and runspec-console.

Microsoft 365 (Outlook · Teams · Calendar · OneDrive) runnables moved to the standalone runspec-o365 package in 0.5.0 (they used to be the [graph] extra). pip install runspec-o365 for those.

All runnables emit JSON on stdout. Read-only runnables are autonomy = "autonomous"; state-changing ones (kill-process, restart-service, stop-service, flush-dns) are autonomy = "confirm".

Install

pip install runspec-windows

Runnables

Group Runnables
System system-info, disk-usage, check-memory, uptime
Processes list-processes, process-info, kill-process
Services list-services, check-service, restart-service, stop-service
Network ping-host, check-port, show-connections, list-adapters, flush-dns
Event log query-eventlog, recent-errors
Scheduled tasks list-scheduled-tasks
Installed software installed-software
Sessions who, current-user
Commands which
Net diagnostics proxy-settings, vpn-status, dns-config, test-connection, trace-route, route-table, gpresult, list-certs, collect-diagnostics
Filesystem filesystem (multi-verb, backed by runspec-fs-core)
Web / TLS / API cert-check, cert-chain, tls-info, http-check, http-headers, redirect-trace, dns-lookup, api-spec

The system runnables are Windows-only; run one on macOS/Linux and it returns a clean JSON error rather than a traceback. The web/TLS/API probes are pure HTTP and run anywhere.

system-info
list-processes --filter chrome --limit 10
query-eventlog --log System --level error --count 20
installed-software --filter "Microsoft"

Development

python -m venv .venv && . .venv/bin/activate   # or .venv\Scripts\activate
pip install -e ".[dev]"
ruff check . && ruff format --check .
pytest

The OS-specific work sits behind thin helpers in _platform.py; the pure output parsers (tasklist/netstat/ipconfig/schtasks/query user) are unit-tested on any platform. Real end-to-end runs of the Windows-only runnables happen on a Windows host / the windows-latest CI job.

Metadata

Release files for runspec-windows 0.10.0

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

Source distribution (sdist)

Source distribution for runspec-windows 0.10.0
File Size Uploaded
runspec_windows-0.10.0.tar.gz 38.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for runspec-windows 0.10.0
File Interpreter ABI Platform
runspec_windows-0.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 75.4 kB

Release files / runspec_windows-0.10.0.tar.gz

Download URL runspec_windows-0.10.0.tar.gz
Size 38.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0882a96bbb9979f50990cecea65568fc11a6f1a4da776043701616714961b96f
BLAKE2b-256 checksum
How to use checksums
ebc4c8c72277c595d594340f3898ad963734e21df683d481ba3d8fd8317ba726
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 Sep 26, 2026.

Transparency log

Release files / runspec_windows-0.10.0-py3-none-any.whl

Download URL runspec_windows-0.10.0-py3-none-any.whl
Size 36.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e83f397e6990358447bf622c5a81f2cbf71fe12aee2a84ea5ca08e4ee8879644
BLAKE2b-256 checksum
How to use checksums
6cf424a80fa0069287b87c92ecd79caa0635aebfe18a393b75a9bd007b6978af
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 Sep 26, 2026.

Transparency log

Release history Release notifications | RSS feed

0.10.1

2 release files

This release

0.10.0 This release

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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