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://localhost:8000", 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-1.1.0rc2.tar.gz
(14.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
py_tes-1.1.0rc2-py3-none-any.whl
(16.5 kB
view details)
File details
Details for the file py-tes-1.1.0rc2.tar.gz.
File metadata
- Download URL: py-tes-1.1.0rc2.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2f84bf27e854142c01a1c33b5ec39f85dc2ef20e2d746661acd47bc9c257557
|
|
| MD5 |
7ebc7fb30aeffeceba9e5f77ac24aa96
|
|
| BLAKE2b-256 |
832e7612ad0d712da64c9dbf401263fddb3c88f08147d74cfd092b877c412e70
|
File details
Details for the file py_tes-1.1.0rc2-py3-none-any.whl.
File metadata
- Download URL: py_tes-1.1.0rc2-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f62803f188036df15d6bfc24cc74e774c711245579807c771e82d897475e873
|
|
| MD5 |
5390698ec517a30107eb8ef6239af2ad
|
|
| BLAKE2b-256 |
1d0100bdde81bb394bb32e99833f288f8df8370a86c35af9d85ada07ab0d81da
|