Library for communicating with the GA4GH Task Execution API
Project description
[](https://travis-ci.org/ohsu-comp-bio/py-tes)
[](https://coveralls.io/github/ohsu-comp-bio/py-tes?branch=master)
[](https://opensource.org/licenses/MIT)
py-tes
======
_py-tes_ is a library for interacting with servers implementing the [GA4GH Task Execution Schema](https://github.com/ga4gh/task-execution-schemas).
### Install
Available on [PyPI](https://pypi.org/project/py-tes/).
```
pip install py-tes
```
### Example
```
import tes
task = tes.Task(
executors=[
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)
```
[](https://coveralls.io/github/ohsu-comp-bio/py-tes?branch=master)
[](https://opensource.org/licenses/MIT)
py-tes
======
_py-tes_ is a library for interacting with servers implementing the [GA4GH Task Execution Schema](https://github.com/ga4gh/task-execution-schemas).
### Install
Available on [PyPI](https://pypi.org/project/py-tes/).
```
pip install py-tes
```
### Example
```
import tes
task = tes.Task(
executors=[
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.2.1.tar.gz
(5.9 kB
view details)
File details
Details for the file py-tes-0.2.1.tar.gz.
File metadata
- Download URL: py-tes-0.2.1.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
210cb077707662f55bc3cd6e79ddd0aafc885166b099402467e8ce832937099a
|
|
| MD5 |
442801742b65e81a45b0fa77ec8ed8be
|
|
| BLAKE2b-256 |
7559f510ec04da2ed40b3539b3cadb3a0810ac6e9c167e4ddbeea37b558c6033
|