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

Uploaded Source

Built Distributions

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

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

Uploaded Python 3

py_tes-0.3.0-py2-none-any.whl (7.9 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: py-tes-0.3.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for py-tes-0.3.0.tar.gz
Algorithm Hash digest
SHA256 bf0aab1f0183fde8fd09ea4a275db436215180a0e1bc8cb03e43a01407887fa7
MD5 d50d69bcfd67ec9170466dd5888283b6
BLAKE2b-256 3f7d29bd110d464957c72f636ff0cc1e37ec01c5804df9be0d8e351e458d0b5b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_tes-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for py_tes-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 634adf578042a14b5a5a5c68eab662936b72594b61a0085a10acc411c69fa5bd
MD5 937253eea67c78b0ef17037ab31d4d70
BLAKE2b-256 4a76a176121440ba7d24b65493a973e1ce21993a9448fc2bd7e7b4c062882e7c

See more details on using hashes here.

File details

Details for the file py_tes-0.3.0-py2-none-any.whl.

File metadata

  • Download URL: py_tes-0.3.0-py2-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for py_tes-0.3.0-py2-none-any.whl
Algorithm Hash digest
SHA256 0255a32089fcc813afa55e556354cd8872cab09806cee4c10f84016562987b3e
MD5 c68718db1d6ca324057d5b122f9d291f
BLAKE2b-256 828d960818bcdcb24eeb05fe8de9d7d84434446d209adee900b059562d7d7912

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