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.

toneloop

Transport and supervisor pair for remote waveform jobs.

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 toneloop

Standard library only, no compiled parts.

Usage

from toneloop 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 toneloop 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 toneloop 0.1.0
File Interpreter ABI Platform Actions
toneloop-0.1.0-py3-none-any.whl Python 3 none any Details for toneloop-0.1.0-py3-none-any.whl

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

Download URL toneloop-0.1.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
312660d8eddadb978234dab35904ff93e4c1e8b032f13fec8a858afc7ebdf103
BLAKE2b-256 checksum
How to use checksums
55bb12d7956ef0cd8233dd5e3305ad4116088e14227c59ac76f8403e620a5928
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for toneloop 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