Skip to main content

render-lab-tasks-gdrive

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-gdrive==0.1.0

Import definitions from render_lab_tasks_gdrive.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)
gdrive.copy copy
gdrive.createFolder create_folder
gdrive.delete delete
gdrive.download download
gdrive.export export
gdrive.getFile get_file
gdrive.move move
gdrive.search search
gdrive.share share
gdrive.upload upload

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
GOOGLE_ACCESS_TOKEN Optional pre-issued token; takes precedence.
GOOGLE_CLIENT_ID Required with secret and refresh token when no access token is supplied.
GOOGLE_CLIENT_SECRET OAuth client secret for refresh.
GOOGLE_REFRESH_TOKEN Refresh token granted the scopes for the operations you use.

Verification and limitations

Google Drive v3 supports text uploads/downloads and exports through this surface. Python caps inline text at 1 MiB and rejects malformed MIME headers or multipart boundary collisions. Search returns one page. Upload/createFolder/copy retain the TS three-retry policy and may duplicate a resource after an ambiguous response. Sharing changes permissions; test against a dedicated folder and account.

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

render_lab_tasks_gdrive-0.1.0.tar.gz (6.1 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_gdrive-0.1.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: render_lab_tasks_gdrive-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

Hashes for render_lab_tasks_gdrive-0.1.0.tar.gz
Algorithm Hash digest
SHA256 30a467b28593511783d7add760ead5485a07003ab09988cc4dc81f581f7abd8c
MD5 3f13fd3f544afeec4840f99894636cf0
BLAKE2b-256 7ef9d9607e648a8ef7bea30bc6250822bbf3366b7f06b46c358e58e3d10a9a56

See more details on using hashes here.

Provenance

The following attestation bundles were made for render_lab_tasks_gdrive-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_gdrive-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for render_lab_tasks_gdrive-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58a1958b52b5c1695e27a57d1c4b8db2356040b59eec1ec75f894e398220af3b
MD5 428fc5fb157dfdccdf8ff393e82c4dd4
BLAKE2b-256 44387cfcda89141f1f4010756257921c01ac0761e0e950c74936ab5b026c144a

See more details on using hashes here.

Provenance

The following attestation bundles were made for render_lab_tasks_gdrive-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