Skip to main content

render-lab-tasks-replicate

Python port of the twelve Replicate prediction, training, file, and model tasks. Install with pip install render-lab-tasks-replicate (it brings render>=1.0.1,<2). Import wrapped tasks and raw injectable implementations from render_lab_tasks_replicate.tasks. The package root is registration-free. Task names and JSON fields match TypeScript.

Environment

REPLICATE_API_TOKEN is read lazily on the first Replicate request. Source URL requests use only the headers supplied in their media source; vendor credentials are never added.

Behavior and verification

Await operations check status once and let the durable task retry policy poll again. The HTTP adapter makes one attempt per call. Cancellation and deletion converge on 404/409 responses as in TypeScript. Prediction/training outputs retain nested JSON and expose HTTPS media URLs separately. Inline media is capped at 1 MiB. File downloads stop when their configured source byte limit is exceeded (default 100 MiB). See ADR-0013 for deliberate retry and media validation differences from the TS SDK. No live Replicate verification has been performed; credentials and live checks are tracked in the repository testing backlog.

Webhook adapter

render_lab_tasks_replicate.webhooks.replicate_adapter(on_event, ...) returns a registration-free adapter for render_lab_triggers. The callback receives the verified event and returns {"task": "namespace.task", "args": [event]} or None. The signing credential REPLICATE_WEBHOOK_SIGNING_SECRET is read inside verification unless provided explicitly. Importing this module does not register tasks. Signature checks use the raw body; live delivery remains in the testing backlog.

Metadata

Release files for render-lab-tasks-replicate 0.1.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 render-lab-tasks-replicate 0.1.1
File Size Uploaded Provenance Actions
render_lab_tasks_replicate-0.1.1.tar.gz 8.9 kB With provenance Details for render_lab_tasks_replicate-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for render-lab-tasks-replicate 0.1.1
File Interpreter ABI Platform Actions
render_lab_tasks_replicate-0.1.1-py3-none-any.whl Python 3 none any Details for render_lab_tasks_replicate-0.1.1-py3-none-any.whl

Total release size: 25.0 kB

Release files / render_lab_tasks_replicate-0.1.1.tar.gz

Download URL render_lab_tasks_replicate-0.1.1.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
652263705b28d619cb8b887c228c4071ec877c622e41c04dc30f76040683ed92
BLAKE2b-256 checksum
How to use checksums
80e8807d02b0cf249dfc9ac5222f1fe5f799c1c19f812e5e2f770581381de7cf
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 Nov 27, 2026.

Transparency log

Release files / render_lab_tasks_replicate-0.1.1-py3-none-any.whl

Download URL render_lab_tasks_replicate-0.1.1-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96bcd380b2066b60a57c05a4c8c048095682cd317fb1098b30c85b71dc60f5f1
BLAKE2b-256 checksum
How to use checksums
8f8bb91b0f1217caa4ec9ce4a6746388e9439f3ab68d97b32f7cc99f5c9048d5
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 Nov 27, 2026.

Transparency log

Security for render-lab-tasks-replicate 0.1.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 render_lab_tasks_replicate-0.1.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 27, 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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

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