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

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.2
File Size Uploaded Provenance Actions
runspec_webops_core-0.3.2.tar.gz 27.3 kB With provenance Details for runspec_webops_core-0.3.2.tar.gz

Built distribution (wheel)

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

Total release size: 49.4 kB

Release files / runspec_webops_core-0.3.2.tar.gz

Download URL runspec_webops_core-0.3.2.tar.gz
Size 27.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ad9a809549488390b3cb5cac33d3221df8b91b28515132022a9e632f93b32721
BLAKE2b-256 checksum
How to use checksums
bd6e2ed03c981e84cd75394fd9775e52af9a9f40bbc77e83d714667f9036abc3
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 12, 2026.

Transparency log

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

Download URL runspec_webops_core-0.3.2-py3-none-any.whl
Size 22.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1aea4b174d37e7426c878539a17336263237fce9f955296b5d3463f264ff4daf
BLAKE2b-256 checksum
How to use checksums
eb87282bce7e5e9568aa9565c114e67d5b4dd5204bdcb2f7ed02efe64417bfb2
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 12, 2026.

Transparency log

Security for runspec-webops-core 0.3.2

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.2.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 12, 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