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.2.tar.gz
(6.3 kB
view details)
Built Distribution
File details
Details for the file py-tes-0.4.2.tar.gz
.
File metadata
- Download URL: py-tes-0.4.2.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6926cd59b7dfc8e37840955bf1cc7c43ad4d99ba5eae100b6156c918617472c |
|
MD5 | a192564a018df6103ef91049b1727faf |
|
BLAKE2b-256 | 64c07e4bc9fd378a29cb43de049c049940b34395733ff3b298fc2b421c34c7b8 |
File details
Details for the file py_tes-0.4.2-py3-none-any.whl
.
File metadata
- Download URL: py_tes-0.4.2-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.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc3fa392a15032f3fd2453b9e944eb40d5221a2ad10a86a335983c79c6e0feb2 |
|
MD5 | c15b6d75d54d6f38f0a80ea0e5e8a1b4 |
|
BLAKE2b-256 | 90cafcd6b5c43cef0575ff8ccaf65ce90d7d515b44a3128e7285e6e24276fc65 |