Skip to main content

render-lab-tasks-cloudinary

Twelve async Cloudinary tasks, exposed with raw injectable implementations in render_lab_tasks_cloudinary.tasks. The root is registration-free.

Environment

CLOUDINARY_CLOUD_NAME, CLOUDINARY_API_KEY, and CLOUDINARY_API_SECRET are read lazily on first use. Credentials sign upload requests and authenticate Admin API calls. They are never forwarded to media source URLs.

Behavior and evidence

Uploads find an existing deterministic public ID first and recover a competing upload's result. Replace explicitly overwrites. Rename recovers an already-renamed asset, and delete treats an absent asset as success. The assetIds restore input retains the TS contract: its values are Cloudinary public IDs.

URL sources are counted while downloading; normal uploads buffer within the source budget and large uploads send bounded chunks with a shared upload ID. Data URIs use the 1 MiB media contract cap. Chunked uploads return only the final response. Signing, multipart fields and Admin API requests are checked against the actual pinned TypeScript Cloudinary SDK. Live checks still need disposable Cloudinary assets. See ADR-0015 for the async REST adapter and transfer decisions.

Webhook adapter

render_lab_tasks_cloudinary.webhooks.cloudinary_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 CLOUDINARY_API_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.

Installation

pip install render-lab-tasks-cloudinary==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

render_lab_tasks_cloudinary-0.1.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

render_lab_tasks_cloudinary-0.1.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file render_lab_tasks_cloudinary-0.1.0.tar.gz.

File metadata

File hashes

Hashes for render_lab_tasks_cloudinary-0.1.0.tar.gz
Algorithm Hash digest
SHA256 95c304d084bf51da220da6efad782387d18e686e790a12696762493ec23d64ac
MD5 750a0f4ff6f0dbfa3fea2282158a7826
BLAKE2b-256 358ed9e7e368fa7b26a3c0b227c2545d7bce2dea2de8c632936a8bdc0fce9303

See more details on using hashes here.

Provenance

The following attestation bundles were made for render_lab_tasks_cloudinary-0.1.0.tar.gz:

Publisher: publish.yml on render-lab/render-tasks-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file render_lab_tasks_cloudinary-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for render_lab_tasks_cloudinary-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1361c41d99e4befe3a7ff2fa34721c2f8e90f4a0c352d4fc93090731ada1d0e8
MD5 55047ed871f6514fc0918a357d90efcf
BLAKE2b-256 d67b3d6a8633d9d4892634e0762a5f8ee92fecd1d850ffa71513b4d96544af46

See more details on using hashes here.

Provenance

The following attestation bundles were made for render_lab_tasks_cloudinary-0.1.0-py3-none-any.whl:

Publisher: publish.yml on render-lab/render-tasks-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

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