ohsu-comp-bio/py-tes

Name: py-tes

Owner: Oregon Health and Science University Computational Biology

Description: Python SDK for the GA4GH Task Execution API

Created: 2017-07-14 00:13:18.0

Updated: 2017-07-20 16:24:46.0

Pushed: 2017-12-21 21:07:39.0

Homepage: null

Size: 50

Language: Python

GitHub Committers

UserMost Recent Commit# Commits
Pau Ruiz Safont2017-12-20 11:13:03.01
Adam Struck2017-12-21 21:07:38.055

Other Committers

UserEmailMost Recent Commit# Commits

README

Build Status Coverage Status License: MIT

py-tes

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

Install

py-tes is available on PyPI for installation via pip.

install py-tes
Example
rt tes

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


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

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.