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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file render_lab_tasks_replicate-0.1.0.tar.gz.
File metadata
- Download URL: render_lab_tasks_replicate-0.1.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d002a7b767d33a030539227bef021fc3095cca377004ad7d9e27f9061846471a
|
|
| MD5 |
f631e65a65cd340b3b72f4be1b819188
|
|
| BLAKE2b-256 |
ef57ad22dca9286c2633633582d339a4daeb7d0388cdb0c2785ea0b6599bc45e
|
Provenance
The following attestation bundles were made for render_lab_tasks_replicate-0.1.0.tar.gz:
Publisher:
publish.yml on render-lab/render-tasks-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
render_lab_tasks_replicate-0.1.0.tar.gz -
Subject digest:
d002a7b767d33a030539227bef021fc3095cca377004ad7d9e27f9061846471a - Sigstore transparency entry: 2768004943
- Sigstore integration time:
-
Permalink:
render-lab/render-tasks-python@b601664587ba5882dd7c8efabfc8908151008df6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/render-lab
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b601664587ba5882dd7c8efabfc8908151008df6 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file render_lab_tasks_replicate-0.1.0-py3-none-any.whl.
File metadata
- Download URL: render_lab_tasks_replicate-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2e4b24f30cc46856072fcfdaf3665af5949119ffb0305a73663099618888039
|
|
| MD5 |
220b5331725747b18cb94849721a9602
|
|
| BLAKE2b-256 |
c57eebe95a37d891e26ed94018980d4b22480fbd085bd0911f5c97c218d768d8
|
Provenance
The following attestation bundles were made for render_lab_tasks_replicate-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on render-lab/render-tasks-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
render_lab_tasks_replicate-0.1.0-py3-none-any.whl -
Subject digest:
d2e4b24f30cc46856072fcfdaf3665af5949119ffb0305a73663099618888039 - Sigstore transparency entry: 2768004955
- Sigstore integration time:
-
Permalink:
render-lab/render-tasks-python@b601664587ba5882dd7c8efabfc8908151008df6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/render-lab
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b601664587ba5882dd7c8efabfc8908151008df6 -
Trigger Event:
workflow_dispatch
-
Statement type: