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

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file py_tes-1.1.0.tar.gz.

File metadata

  • Download URL: py_tes-1.1.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.7

File hashes

Hashes for py_tes-1.1.0.tar.gz
Algorithm Hash digest
SHA256 472a3338221b7b1d3306a6ef1d718e4c4c85f35d701fbc545485d70fa98dae33
MD5 07b0e362662c1f444ef8615743e14087
BLAKE2b-256 a3a52aa101ef19fad47f8bd65584deb54be311dbf3c259913905576cdad0a9bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_tes-1.1.0-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.12.7

File hashes

Hashes for py_tes-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6783eb7cdb676f74879d18007d75c6c1d68e585091e48c20c37716a4893bee63
MD5 ae73a075d1735a1483b6f617ddb865aa
BLAKE2b-256 da50136b5c1cf5a1e0ce705ce1ae76a61e246483604ab217f4ae54d551905ce2

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