Skip to main content

Tetrascience Python SDK

Project description

ts-sdk

Tetrascience Python SDK for task scripts run and test

Unit tests

from ts_sdk.taskdev import Context, load_test_input, load_pipeline_config, check_test_output

ctx = Context()
load_pipeline_config(ctx, ...)
input = load_test_input(ctx, ...)
task_script_fn(input, ctx)
check_test_output(ctx, ...)

WIP...

Dockerfile ENTRYPOINT

ENTRYPOINT [ "<python-bin>", "-u", "-m", "ts_sdk.task.run" ]

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ts-sdk-1.0.4.tar.gz (20.1 kB view hashes)

Uploaded Source

Built Distribution

ts_sdk-1.0.4-py3-none-any.whl (26.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page