Skip to main content

Library for communicating with the GA4GH Task Execution API

Project description

Build Status Coverage Status License: MIT

py-tes

py-tes is a library for interacting with servers implementing the GA4GH Task Execution Schema.

Install

Available on PyPI.

pip install py-tes

Example

import tes

task = tes.Task(
    executors=[
        tes.Executor(
            image="alpine",
            command=["echo", "hello"]
        )
    ]
)

cli = tes.HTTPClient("http://funnel.example.com", timeout=5)
task_id = cli.create_task(task)
res = cli.get_task(task_id)
cli.cancel_task(task_id)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

py_tes-1.1.0rc1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file py_tes-1.1.0rc1-py3-none-any.whl.

File metadata

  • Download URL: py_tes-1.1.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for py_tes-1.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d904010b08a54f3bbb7a5f84426fd4f273db0a2874296e1e2528daaeb83ccef
MD5 960aae9f4b48379f8ea2b78a0f09a03f
BLAKE2b-256 c07e866a69c08da316479cd4387d5fbf33165088062ed13501986f392f5377cd

See more details on using hashes here.

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