Library for communicating with the GA4GH Task Execution API
Project description
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
Release history Release notifications | RSS feed
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.0.tar.gz
(6.0 kB
view hashes)
Built Distribution
py_tes-0.4.0-py3-none-any.whl
(7.1 kB
view hashes)