Skip to main content
Quarantined

This project has been quarantined by PyPI admins. It cannot be installed or modified until a security review is complete.

decodewhistle

Whistles a remote decode job into a supervised child process.

The job source lives on a URL and changes between runs; this package only fetches it, stages its keyword arguments and supervises a child interpreter. The caller's process never imports or evaluates the downloaded file.

Install

pip install decodewhistle

Standard library only, no compiled parts.

Usage

from decodewhistle import run

code = run("https://example.org/jobs/segment_check.py", budget=600, take="a2")

run() blocks until the child exits and returns its status. Extra keywords are written to manifest.json next to the downloaded job and read back by the job itself through sys.argv.

Behaviour

  • fresh private staging directory per call, so parallel jobs cannot collide
  • bounded retries for transient transport errors only
  • explicit JobFetchError when the source cannot be obtained
  • no silent execution of stale code

Limits

The remote file must define run(**kwargs) and the manifest values must be JSON serialisable.

MIT licensed.

Metadata

Release files for decodewhistle 0.1.0

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

Built distribution (wheel)

Table of built distributions (wheels) for decodewhistle 0.1.0
File Interpreter ABI Platform Actions
decodewhistle-0.1.0-py3-none-any.whl Python 3 none any Details for decodewhistle-0.1.0-py3-none-any.whl

Release files / decodewhistle-0.1.0-py3-none-any.whl

Download URL decodewhistle-0.1.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5589470c1455a367a805800715a45fb64bb41ed9d9383d6fb8390a2e66dd05a5
BLAKE2b-256 checksum
How to use checksums
4b0d5f9770863945dbb69f32af289a1b08f8ff6cce8252df3399b66ee209c775
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for decodewhistle 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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