Skip to main content

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> -p <protocol-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|protocol|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

This version

1.2.1

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.2.1.tar.gz (28.0 kB view details)

Uploaded Source

Built Distribution

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

ts_sdk-1.2.1-py3-none-any.whl (39.2 kB view details)

Uploaded Python 3

File details

Details for the file ts-sdk-1.2.1.tar.gz.

File metadata

  • Download URL: ts-sdk-1.2.1.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.1

File hashes

Hashes for ts-sdk-1.2.1.tar.gz
Algorithm Hash digest
SHA256 eb709508fdf2bcc04822c47705725d1157d91a139d1f7801ffbdded4a5072251
MD5 4db7ef9aecc6f802965514e7b0d5fb87
BLAKE2b-256 3cd2adb21280f3f5a369a349f1065a76da86df81188be0d87569d99d29ab8a89

See more details on using hashes here.

File details

Details for the file ts_sdk-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: ts_sdk-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 39.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.1

File hashes

Hashes for ts_sdk-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 10dd2347cb7073ac8092c67243c5dd7de07676ba8cf7c02dcbcb32d4226151f5
MD5 908a57afa4985d8f33e69ea6e4692852
BLAKE2b-256 d275ad8d1289c23bf54e896a0d505d0cffc78fec86dbbd80adfd46cd27b2dc86

See more details on using hashes here.

Supported by

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