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 details)
Built Distribution
File details
Details for the file py-tes-0.4.0.tar.gz
.
File metadata
- Download URL: py-tes-0.4.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cd0d1a1a593c6db3d734449cd704448c77632ad4b0511d93402b3dc3b4aab28 |
|
MD5 | 0fa2056f55076a4b5c2ebf1ad369c845 |
|
BLAKE2b-256 | 39b2672765a02ba2bec3eb1dc3f560ac09cb188532204ab74be65308e7d51de9 |
File details
Details for the file py_tes-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: py_tes-0.4.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f062b34287babe6373b5a8f80bf83dab495e8882ecc5ca8653eadc7833c04e2c |
|
MD5 | 743f8f4d4151f2a8a38cc181a858a992 |
|
BLAKE2b-256 | 0df04e2cffe234c9e878d5ff48b7de5b8e0e6c1a678ffcd428b7e0a22c0b34a6 |