render-lab-tasks-resend
Python port of all 10 registered tasks in the pinned TypeScript pack at
45f9c2d44bd28e01ae9813e0d2ff56ee6c533816. Python 3.12+.
Install this distribution and its dependencies:
pip install render-lab-tasks-resend==0.1.0
Import definitions from render_lab_tasks_resend.tasks; combine app objects
with Workflows.from_workflows(...). JSON fields retain TS spelling; functions
use snake_case. Package root imports are inert.
Tasks
| Registered name | Python export (also exposes _impl) |
|---|---|
resend.addContact |
add_contact |
resend.awaitReply |
await_reply |
resend.createBroadcast |
create_broadcast |
resend.getDeliveryStatus |
get_delivery_status |
resend.listAudiences |
list_audiences |
resend.send |
send |
resend.sendBatch |
send_batch |
resend.sendBroadcast |
send_broadcast |
resend.template |
template |
resend.verifyWebhook |
verify_webhook |
Dependencies and retries
Raw implementations accept context first and keyword-only deps. The .client
module exports typed Port, Deps, and Client classes. Inject a fake port, or
pass a caller-owned httpx.AsyncClient to Client. Default dependencies close
their client after one operation. Credentials resolve at first use. Transport
retries are disabled; retry.py owns durable policies. DTO types are in .types.
Requires core >=0.1.1.
Environment
| Variable | Contract |
|---|---|
RESEND_API_KEY |
Required for management/read operations. send/sendBatch log to console when absent. |
RESEND_WEBHOOK_SECRET |
Required for verifyWebhook unless input.secret is supplied. |
Verification and limitations
send/sendBatch preserve the console fallback when no key is set; delivered=false
means no email was delivered. Management operations require a key. awaitReply has
no default inbox: inject Deps(resend=..., inbox=...) whose InboxPort implements
find_reply(input) and returns a ReplyDTO or None. It polls once per attempt.
verifyWebhook validates Svix HMAC signatures; as in TS, it does not check timestamp
freshness or deduplicate event IDs. The caller must provide replay protection.
Template rendering escapes HTML. Sending operations retain four retries without
an idempotency key; use test recipients until live duplicate-handling is proven.
Shared fixtures execute the actual pinned TS implementations and compare Python outputs and requests. Sanity's SDK calls are translated into separately asserted REST requests. These are hermetic checks, not real account or hosted verification. See the testing backlog and the root verification tracker. Licensed under MIT.
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_resend-0.1.0.tar.gz.
File metadata
- Download URL: render_lab_tasks_resend-0.1.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bca0a1ef1c2a65ef3860c315a471781a86e5ec915128c9af7d02735d9108128a
|
|
| MD5 |
b9cfdbda4181c8f98a35e0d8888e4b68
|
|
| BLAKE2b-256 |
a67d926a9ede1534f4039e1feda5f371268892893e2f0943be9eba474d9a65a3
|
Provenance
The following attestation bundles were made for render_lab_tasks_resend-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_resend-0.1.0.tar.gz -
Subject digest:
bca0a1ef1c2a65ef3860c315a471781a86e5ec915128c9af7d02735d9108128a - Sigstore transparency entry: 2767940082
- 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_resend-0.1.0-py3-none-any.whl.
File metadata
- Download URL: render_lab_tasks_resend-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.3 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 |
ba414cb1140d0c5daaec4b906e2ec33b0522220b65876f2f9a7db40b4a101b17
|
|
| MD5 |
cdf59340035ca471ff1d56c0bc70ea07
|
|
| BLAKE2b-256 |
a73c15c320fa7294d365f18da13980bea40255fa8283f47e8ed12b624311cb5d
|
Provenance
The following attestation bundles were made for render_lab_tasks_resend-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_resend-0.1.0-py3-none-any.whl -
Subject digest:
ba414cb1140d0c5daaec4b906e2ec33b0522220b65876f2f9a7db40b4a101b17 - Sigstore transparency entry: 2767940103
- 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: