Skip to main content

runspec-webops-core

Pure-Python HTTPS/TLS certificate + web-endpoint helpers — the importable logic core behind the cross-platform web runnables in runspec-linux and runspec-windows.

Stdlib only (ssl / socket / http.client) — no runspec dependency, no runspec.toml, and no entry points, so installing it exposes the helper functions for import without surfacing any runnables (it is invisible to runspec local / runspec serve discovery).

from runspec_webops_core import connect_peer, leaf_report, probe, resolve

peer = connect_peer("example.com", 443, 10)
print(leaf_report(peer, warn_days=30))        # days-to-expiry, issuer, SANs, trust
print(probe("https://example.com", 10))       # status, timing, redirect target
print(resolve("example.com", want_reverse=True))
Function What it does
connect_peer / leaf_report / chain_report TLS certificate inspection — expiry, issuer, SANs, fingerprint, full chain, trust result
probe / classify Single HTTP(S) request — status, response time, redirect target
fetch_headers Response headers + a security-header report (HSTS, CSP, …)
trace_redirects Walk the redirect chain, hop by hop, with loop detection
resolve Forward (A/AAAA) and reverse (PTR) DNS lookups
load_document / summarize_spec / describe_operation Read an OpenAPI/Swagger spec (URL or file) and condense its shape — operations, params, request/response schemas — to bounded JSON

OpenAPI/Swagger specs in JSON parse with the stdlib; YAML needs the optional yaml extra (pip install runspec-webops-core[yaml]).

Each function returns plain data and raises on failure (ConnectError, ResolveError — both subclasses of WebopsCoreError).

Corporate wrapping

Depend on runspec-webops-core alone, import the helpers, and ship your own private package with its own runspec.toml that bakes in corporate defaults (proxies, allowed hosts, redaction) as plain params — only your wrapped runnables surface in the venv, the generic published code stays clean.

Metadata

Release files for runspec-webops-core 0.3.1

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-webops-core 0.3.1
File Size Uploaded Provenance Actions
runspec_webops_core-0.3.1.tar.gz 26.8 kB With provenance Details for runspec_webops_core-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for runspec-webops-core 0.3.1
File Interpreter ABI Platform Actions
runspec_webops_core-0.3.1-py3-none-any.whl Python 3 none any Details for runspec_webops_core-0.3.1-py3-none-any.whl

Total release size: 48.7 kB

Release files / runspec_webops_core-0.3.1.tar.gz

Download URL runspec_webops_core-0.3.1.tar.gz
Size 26.8 kB
Tags Source
SHA-256 checksum
How to use checksums
125c4d175b57754e54192c644b983cd34ec85e2b93f778cec2a924c772d93648
BLAKE2b-256 checksum
How to use checksums
3b8dc906f4dece6d7ae051a05362a39d98c2df9887955dc2a8affdd30228f786
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 5, 2026.

Transparency log

Release files / runspec_webops_core-0.3.1-py3-none-any.whl

Download URL runspec_webops_core-0.3.1-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b8ad7a4af96f56b2754a1bb0b5887b1e5e6f0dec8fb2ef233421438e6e2818ad
BLAKE2b-256 checksum
How to use checksums
cfcbdfdfafadaee0e8933477cf9c8f2ad6fc634f34f8b170b1a45f6b6a1a2c70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 5, 2026.

Transparency log

Security for runspec-webops-core 0.3.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.

Select from 2 files

Attestation for runspec_webops_core-0.3.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 Nov 5, 2026.

Transparency log

A 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.

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