render-lab-tasks-render-kv
Nine Render Key Value tasks: kv.get, kv.set, kv.incr, kv.expire,
kv.delete, kv.lock, kv.unlock, kv.listPush, and kv.listRange.
Import render_lab_tasks_render_kv.tasks for explicit registration.
Each task also exports an injectable async *_impl(ctx, input, *, deps=...).
REDIS_URL is read at first use. A linked Render Key Value instance provides
its private connection URL. There are no other credential requirements.
from render_lab_tasks_render_kv.tasks import app, get_impl
# await get_impl(ctx, {"key": "example"})
Connections are closed after each raw invocation. Redis transport retries are explicitly disabled. The durable policy allows three retries at 1s, 2s, 4s. Increment and list append can execute twice if a connection fails after the write. Lock acquisition uses SET NX EX; unlock uses one atomic compare-and-delete Lua command. List append followed by TTL refresh is two Redis commands, matching TypeScript; partial failure may leave a list without the requested TTL.
Hermetic tests verify command arguments and failure behavior. Live connection, failover, contention, and expiry checks remain in the repository testing backlog.
Installation
pip install render-lab-tasks-render-kv==0.1.0
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_render_kv-0.1.0.tar.gz.
File metadata
- Download URL: render_lab_tasks_render_kv-0.1.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fca56cb80a2e0e28845733cad8955e19cf7fe00dfc3f4ef6a248ee36ddf0a0ba
|
|
| MD5 |
c476611a778699a48f1264a0ebcbacd0
|
|
| BLAKE2b-256 |
95200ff9ef72178c7467cc81db7f3ba892111e25f8f1e19b36022a48357b7807
|
Provenance
The following attestation bundles were made for render_lab_tasks_render_kv-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_render_kv-0.1.0.tar.gz -
Subject digest:
fca56cb80a2e0e28845733cad8955e19cf7fe00dfc3f4ef6a248ee36ddf0a0ba - Sigstore transparency entry: 2767932262
- 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_render_kv-0.1.0-py3-none-any.whl.
File metadata
- Download URL: render_lab_tasks_render_kv-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.2 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 |
3af500015ae7cb241c4ebe78ab70f62594ee15fc90e2b82b3df5a7ffd419d941
|
|
| MD5 |
d5c817fdb00e3ab0888fd430d5e47d0f
|
|
| BLAKE2b-256 |
7515c66778e181b72207992861e9d99666f9ca384270adb86496d9e6f52359cf
|
Provenance
The following attestation bundles were made for render_lab_tasks_render_kv-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_render_kv-0.1.0-py3-none-any.whl -
Subject digest:
3af500015ae7cb241c4ebe78ab70f62594ee15fc90e2b82b3df5a7ffd419d941 - Sigstore transparency entry: 2767932291
- 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: