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 Distribution

py-tes-0.4.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file py-tes-0.4.1.tar.gz.

File metadata

  • Download URL: py-tes-0.4.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for py-tes-0.4.1.tar.gz
Algorithm Hash digest
SHA256 4df33583889ddb166b7b1a0ee3ededcfe1f550ce79506f4d1715db91edb8ac02
MD5 e354fea948113481e8e28d5c97db8b4f
BLAKE2b-256 2630165cf9956f16fc9c4a1cd749c69fffc273deb4fe4d7c1d39dafa926be3f2

See more details on using hashes here.

File details

Details for the file py_tes-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: py_tes-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for py_tes-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 507892772b3d665c5d60e818bf741a63c61b90835bf73a9d9f9ee1ffb165b75c
MD5 ce46761e63bc83bbbfd18fb5e312ad3b
BLAKE2b-256 9c0708d51fe8eb34b35a959671ffac68137b9be6e323b76d480416fe0e6e96dd

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