Tetrascience Python SDK
Project description
ts-sdk
Tetrascience Python SDK
Install
pip3 install ts-sdk
Usage
Init a new protocol
ts-sdk init -o <org> -m <master-script-slug> -t <task-script-slug> -f <protocol-folder>
cd <protocol-folder>/task-script
pipenv install --dev
# task-script code modifications...
pipenv run pytest
Upload artifact
export TS_ORG=<your-org-slug>
export TS_API_URL=https://api.tetrascience.com/v1
export TS_AUTH_TOKEN=<token>
ts-sdk put <ids|master-script|task-script> <namespace> <slug> <version> <artifact-folder>
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.1.6.tar.gz
(28.0 kB
view hashes)
Built Distribution
ts_sdk-1.1.6-py3-none-any.whl
(39.2 kB
view hashes)