render-lab-tasks-replicate
Python port of the twelve Replicate prediction, training, file, and model tasks.
Install with pip install render-lab-tasks-replicate render==1.0.1 once released.
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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| render_lab_tasks_replicate-0.1.0.tar.gz | 8.9 kB | With provenance | Details for render_lab_tasks_replicate-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| render_lab_tasks_replicate-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for render_lab_tasks_replicate-0.1.0-py3-none-any.whl |
Total release size: 25.0 kB
Release files / render_lab_tasks_replicate-0.1.0.tar.gz
| Download URL | render_lab_tasks_replicate-0.1.0.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d002a7b767d33a030539227bef021fc3095cca377004ad7d9e27f9061846471a
|
|
BLAKE2b-256 checksum How to use checksums |
ef57ad22dca9286c2633633582d339a4daeb7d0388cdb0c2785ea0b6599bc45e
|
| 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 Sep 9, 2026.
Transparency logRelease files / render_lab_tasks_replicate-0.1.0-py3-none-any.whl
| Download URL | render_lab_tasks_replicate-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2e4b24f30cc46856072fcfdaf3665af5949119ffb0305a73663099618888039
|
|
BLAKE2b-256 checksum How to use checksums |
c57eebe95a37d891e26ed94018980d4b22480fbd085bd0911f5c97c218d768d8
|
| 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 Sep 9, 2026.
Transparency logSecurity for render-lab-tasks-replicate 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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for render_lab_tasks_replicate-0.1.0.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 Sep 9, 2026.
Transparency logA 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.